I'm not sure this message is totally appropriate for this group, so
please, if anyone has a better group suggestion, let me know!
My company sends out a monthly newsletter in HTML format to our
account holders. We get a couple of people with auto-responders saying
they don't accept HTML e-mails, please send plain-text.
Is there some way to format an e-mail with both versions, maybe
defaulting to HTML format but display plain-text if it detects the
recipient's client is set to display plain-text only?
Thanks for any suggestions!!
Liam 8 5293 de**@celticbear .com (LRW) writes: I'm not sure this message is totally appropriate for this group, so please, if anyone has a better group suggestion, let me know!
It is the wrong group, yes. I'd suggest one of the comp.mail groups.
My company sends out a monthly newsletter in HTML format to our account holders. We get a couple of people with auto-responders saying they don't accept HTML e-mails, please send plain-text.
And you probably have a few others who silently delete HTML-formatted
messages.
Is there some way to format an e-mail with both versions,
Yes. Most email clients have an option to send both HTML and plain
text versions. Read the manual that came with your email program/list
software.
maybe defaulting to HTML format but display plain-text if it detects the recipient's client is set to display plain-text only?
You can't control this, but it seems to be the default behaviour of
many common email programs to display HTML format preferentially if
they are set to display both.
--
Chris
LRW wrote: I'm not sure this message is totally appropriate for this group, so please, if anyone has a better group suggestion, let me know!
comp.mail.mime, follow-ups set.
My company sends out a monthly newsletter in HTML format to our account holders. We get a couple of people with auto-responders saying they don't accept HTML e-mails, please send plain-text.
Is there some way to format an e-mail with both versions, maybe defaulting to HTML format but display plain-text if it detects the recipient's client is set to display plain-text only?
Yes, MIME. It allows you to include both formats in the one message,
which makes the message size significantly more than twice what's
required...
It's pretty easy. Send yourself an email in HTML format from a typical
mail client and look at the message source when you receive it. Google
will tell you more.
--
Mark.
LRW wrote: I'm not sure this message is totally appropriate for this group, so please, if anyone has a better group suggestion, let me know! Is there some way to format an e-mail with both versions, maybe defaulting to HTML format but display plain-text if it detects the recipient's client is set to display plain-text only?
If you send out the mail with e.g. Windows/ASP/CDONTS, there will be
created a text fall back automatically for every HTML you send out.
It's really a question of your tools though and not HTML.
--
Google Blogoscoped http://blog.outer-court.com de**@celticbear .com (LRW) wrote in
news:3a******** *************** ***@posting.goo gle.com: I'm not sure this message is totally appropriate for this group, so please, if anyone has a better group suggestion, let me know!
My company sends out a monthly newsletter in HTML format to our account holders. We get a couple of people with auto-responders saying they don't accept HTML e-mails, please send plain-text.
Is there some way to format an e-mail with both versions, maybe defaulting to HTML format but display plain-text if it detects the recipient's client is set to display plain-text only?
You are looking at it the wrong way.
Presumably these "account holders" are people whose business
your company values. Why annoy them by sending some of them
things they don't like(or maybe want). Your database of
"account holders" should have options to specify whether or
not to send the monthly newsletter to that account holder,
and whether to use HTML or plain text. All account holders
should have the means to set the values they want for their
account, and if you get an email bounce saying "plain text
emails only", then one of your staff should change the database
setting for that account.
--
Dave Patton
Canadian Coordinator, Degree Confluence Project http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/
LRW wrote: I'm not sure this message is totally appropriate for this group, so please, if anyone has a better group suggestion, let me know!
I've crossposted and set followups to comp.mail.misc.
My company sends out a monthly newsletter in HTML format to our account holders. We get a couple of people with auto-responders saying they don't accept HTML e-mails, please send plain-text.
And rightfully so; there are a good many sysadmins that believe HTML does
not belong in e-mail. I get virtually no legitimate e-mail in HTML format,
and except for a handful of senders, that e-mail goes straight into the
trash folder.
Is there some way to format an e-mail with both versions, maybe defaulting to HTML format but display plain-text if it detects the recipient's client is set to display plain-text only?
Send HTML only to those that have asked for HTML. Send plain text only to
those that have not asked for HTML. If in doubt, send in plain text only.
Sending both types is wasteful of resources, especially given the typical
bloat of HTML e-mail (2 to 3 times, minimum).
--
Shawn K. Quinn
On Tue, 15 Jun 2004 16:37:49 GMT, Dave Patton <no**@none.co m> wrote: Why annoy them by sending some of them things they don't like(or maybe want).
Because it's your job to do so, and that's what your boss insists on.
Yes, there are drawbacks to doing this. But many of us don't have the
option to change it. Let's not shoot the messenger here.
I suggest the original poster learns what an RFC is, and how to read
one. I don;t know the numbers offhand, but there are ways to ship just
what they want, and it's some of the RFCs related to MIME that will
hold the _real_ specification of how to do it correctly.
--
Smert' spamionam
I got a couple of recommendations of better groups to post to, but
since some people have kindly replied here with suggestions and tips,
I thought I'd reply with my findings.
I found an example of a way to send an e-mail in both HTML and Plain
formats which allows the mail client to decide which one to use.
It's in PHP, which is what I use, but I'm certain the same thing can
easily be done in ASP:
<?php
$to="Recipient Name <so******@examp le.com>";
$from="Sender Name <jd**@example.c om>";
$subject="My first HTML E-mail";
$mime_boundary= "==Multipart_Bo undary_x".md5(m t_rand())."x";
$headers = "From: $from\r\n" .
"MIME-Version: 1.0\r\n" .
"Content-Type:multipart/alternative;\n" .
" boundary=\"{$mi me_boundary}\r\ n\"";
$headers.= "From: $from\r\n";
$message = "This is a multi-part message in MIME format.\n\n" .
"--{$mime_boundary }\n" .
"Content-Type: text/plain; charset=\"iso-8859-1\"\n" .
"Content-Transfer-Encoding: 7bit\n\n" .
"HTML E-mail\n\nThis is the text portion of an HTML e-mail\n" .
"--{$mime_boundary }\n" .
"Content-Type: text/html; charset=\"iso-8859-1\"\n" .
"Content-Transfer-Encoding: 7bit\n\n" .
"<h1>HTML E-mail</h1>" .
"<p>This is an <b>HTML</b> e-mail.</p>";
if (mail($to, $subject, $message, $headers))
echo "Message Sent!";
else
echo "Failed to send message.";
?>
It indeed does involve MIME as one person suggested, although I don't
know if RFC is involved...or even what that is. =)
And in reply to one poster, I agree that HTML e-mail in general has
questionable use since most of it is generally spam, but it really is
a good way to send newsletters, and in our case, a series of "how to
use your new account" instructions including screenshots of what our
clients will see.
Lockergnome.com is one in which uses regular HTML newsletters
mailings. But, it's all personal preference. =)
Thanks all who replied, especially when all you had to do was say "use
newsgroup x.y.z newbie!" =)
Liam de**@celticbear .com (LRW) wrote in message news:<3a******* *************** ****@posting.go ogle.com>... My company sends out a monthly newsletter in HTML format to our account holders. We get a couple of people with auto-responders saying they don't accept HTML e-mails, please send plain-text.
Commentary on the pros and cons of text vs. HTML e-mail: http://mailformat.dan.info/body/html.html
Is there some way to format an e-mail with both versions, maybe defaulting to HTML format but display plain-text if it detects the recipient's client is set to display plain-text only?
Multipart MIME messages can be sent that way, and usually are by
default in programs that send HTML (other than a few like Hotmail that
send HTML only with no plain text version, which causes problems on
mailing lists that reject non-plaintext messages).
Some more info: http://mailformat.dan.info/headers/mime.html
Some of the better mail programs, including Pegasus Mail, let you
configure whether to show the "plain" or "fancy" versions of a
multipart MIME message.
--
Dan This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tom Brown |
last post by:
Hi,
I have what seems to be a simple problem. But I can not for the life of me
find a way to send an integer over a socket. The send method will only accept
strings. Here is what I am trying to do:
testmessage = 'test message'
msglen = len(testmessage)
sock.send(msglen)
sock.send(testmessage)
|
by: Etienne Charland |
last post by:
Hi, there is an application running on a remote desktop (under Citrix ICA,
but the same problem applies for RDC or PC Anywhere). Now, I want to send
keys to the remote application from a local app. I tried sending keys in VB
with SendKeys, as well as using keybd_event API, but I'm not able to send
any keys. It works very well for any local applications, but I can't pass
the keys remotely. Is there any way to do it?
Thanks!
Etienne
|
by: Sara |
last post by:
HI,
I want to code a program to detect GSM mobile (any kind) which connected
through serial port to computer and then be able to send SMS through
this mobile phone to other mobile phones, could anyone help me and guide
me, I wrote a program which could open COM port but still couldn't
detect mobile phone and send SMS through it. I searched internet and I
didn't find right answer to my question.
please if anyone could guide me.
the...
|
by: Manfred Braun |
last post by:
Hi All,
I am trying to understand the blocking method socket.Send().
The call blocks as expected, but does this mean, it returnes after the
underlying TCP layer got a confirmation, that the send data was received by
the socket on the remote end? Can I count on that? Do I understand TCP
correctly in that, it gives confirmation ? I do not
expect, that a .Net based receiver got that data when socket.Send()
terminates!
|
by: Hasan O |
last post by:
hi , I have a problem with socket.send
mesajlar = Encoding.ASCII.GetBytes("UGIR");
socketResultValue = socket.Send(mesajlar,0,mesajlar.Length,
SocketFlags.None);
socketResultValue =
socket.Receive(mesajlar,0,mesajlar.Length,SocketFlags.None);
| |
by: zorhel |
last post by:
Hi.
My clients will be IE, Mozilla and Opera in
a Windows and *nix OS.
So, my web app need to, from a server, send messages to a specific client
(browser), send messages for all clients, redirect a client to another page.
In other way, a client will be able to send messages to another client,
throw the server.
These are the first funcionalities.
|
by: supz |
last post by:
Hi,
I use the standard code given below to send an email from an ASP.NET
web form. The code executes fine but no Email is sent. All emails get
queued in the Inetpub mail queue.
I'm using my local default SMTP Server and my from address is a valid
Yahoo/Hotmail address. I have configures the local SMTP Server to allow
the IP Address 127.0.0.1.
|
by: ultr |
last post by:
Hello,
I have read that send() may not send whole message and returns the
nuber of bytes sent, so that we can handle the rest of the message. Is
it true, because i have tested sending even 1MB long message by the
Internet connection and it was sent in one message - send() returned
length of whole message?
And the second question: If we really need to send the rest of the
message, what should i do if client disconnects while sending...
|
by: cj |
last post by:
How can I get a button in VB to send the contents of a text box via
email in a manner similar to the "Send To\Mail Recipient" functionality
that you can select via right clicking a file in Windows Explorer?
I want the user to click a button and it lunch the users default email
client and put the contents of a multi line text box in the body of the
message and the contents of another text box in the title box and be
sitting there read for...
|
by: Mahernoz |
last post by:
Can i send an email from JavaScript? Is it possible? If yes please the
code to send email using javascript...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |