473,569 Members | 2,628 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: Sending HTML Emails (To Denmark)

CJM
David,

Thanks for the reply.

Responses inline:

"David E. Ross" <no****@nowhere .notwrote in message
news:OZ******** *************** *******@softcom .net...
>>

Because the HTML generators for E-mail often fail to create valid HTML,
different E-mail clients display the results differently. Sometimes,
this causes displays to be totally corrupted.

If you are trying to distribute a newsletter, I suggest you instead
create the newsletter as a Web page. Validate the HTML at
<http://validator.w3.or g/>. Then, send an ASCII message to your
subscription list, announcing the newsletter with the link to that page.
If you do this, then all recipients of the announcement message should
be able to view the newsletter properly.
This is a promotional mailshot so image is important. I understand what you
are saying here, however, the powers that be want something above plaintext
for this project.
Note that some spam filters treat HTML-formatted messages as more likely
to be spam. Of course, HTML formatting is not the only criterion; but
when added to certain words in the message text -- words that might be
quite innocent -- HTML formatting might be enough to make a filter
reject your message. Your message might not reach its intended addressee.
Agreed. However, as you can see, the HTML is minimal and our testing so far
indicates that it isn't going to fall foul of most spam filters (e.g.
MessageLabs, SpamAssassin etc).
The issue of HTML-formatted E-mail messages generates endless debate in
this and other newsgroups. See my
<http://www.seamonkey-project.org/ASCII_mail.html to read why I'm in
the group that opposes the use of HTML-formatting for E-mail. (One of
my reasons is in the third paragraph of this message.)
Yes, I'm aware of (and sympathetic to) the debate. This is one of the
occasions where I think html emails can have a benefit, however, there is a
proper plaintext version in the multi-part email that we are going to send,
should anyone prefer that version.
Since posting, I've 'fixed' the layout issue by regressing to
tables-for-layout, so that no longer is a problem.

However, the issue regarding character sets/codepages and Danish characters
is still the principle concern. This problem is (obviously) a problem with
both html and plaintext version, so currently it is a show-stopper.

Any thoughts on this issue?

Jun 27 '08 #1
3 3090
"CJM" <cj*****@remove me-yahoo.co.ukwrit es:
However, the issue regarding character sets/codepages and Danish
characters is still the principle concern. This problem is (obviously)
a problem with both html and plaintext version, so currently it is a
show-stopper.

Any thoughts on this issue?
You're sending multiple parts, right? I.e. both plain text and HTML? If so,
just add the charset to the content-type.

.... More headers
Content-Type: multipart/alternative; boundary="secti on_boundary"; charset=utf8
.... More headers

--section_boundar y
Content-Disposition: inline
Content-Type: text/plain; charset=utf8

Text contents goes here...
--section_boundar y
Content-Disposition: inline
Content-Type: text/html; charset=utf8

HTML goes here
--section_boundar y

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jun 27 '08 #2
On 5/7/2008 4:03 AM, CJM wrote:
--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>. David,
>
Thanks for the reply.

Responses inline:

"David E. Ross" <no****@nowhere .notwrote in message
news:OZ******** *************** *******@softcom .net...
>Because the HTML generators for E-mail often fail to create valid HTML,
different E-mail clients display the results differently. Sometimes,
this causes displays to be totally corrupted.

If you are trying to distribute a newsletter, I suggest you instead
create the newsletter as a Web page. Validate the HTML at
<http://validator.w3.or g/>. Then, send an ASCII message to your
subscription list, announcing the newsletter with the link to that page.
If you do this, then all recipients of the announcement message should
be able to view the newsletter properly.

This is a promotional mailshot so image is important. I understand what you
are saying here, however, the powers that be want something above plaintext
for this project.
>Note that some spam filters treat HTML-formatted messages as more likely
to be spam. Of course, HTML formatting is not the only criterion; but
when added to certain words in the message text -- words that might be
quite innocent -- HTML formatting might be enough to make a filter
reject your message. Your message might not reach its intended addressee.

Agreed. However, as you can see, the HTML is minimal and our testing so far
indicates that it isn't going to fall foul of most spam filters (e.g.
MessageLabs, SpamAssassin etc).
>The issue of HTML-formatted E-mail messages generates endless debate in
this and other newsgroups. See my
<http://www.seamonkey-project.org/ASCII_mail.html to read why I'm in
the group that opposes the use of HTML-formatting for E-mail. (One of
my reasons is in the third paragraph of this message.)

Yes, I'm aware of (and sympathetic to) the debate. This is one of the
occasions where I think html emails can have a benefit, however, there is a
proper plaintext version in the multi-part email that we are going to send,
should anyone prefer that version.
Since posting, I've 'fixed' the layout issue by regressing to
tables-for-layout, so that no longer is a problem.

However, the issue regarding character sets/codepages and Danish characters
is still the principle concern. This problem is (obviously) a problem with
both html and plaintext version, so currently it is a show-stopper.

Any thoughts on this issue?
That's why I suggested a Web page for the newsletter. You can then
specify the language to be Danish ("da" is the code) in the <!DOCTYPE>
declaration. The problem is that many E-mail composers fail to include
a <!DOCTYPEwhen formatting for HTML.
Jun 27 '08 #3
CJM

"David E. Ross" <no****@nowhere .notwrote in message
news:-M************** *************** *@softcom.net.. .
>>

That's why I suggested a Web page for the newsletter. You can then
specify the language to be Danish ("da" is the code) in the <!DOCTYPE>
declaration. The problem is that many E-mail composers fail to include
a <!DOCTYPEwhen formatting for HTML.
David,

It is a promotional email and not a newsletter. The information we want to
convey must be in the email whether it me html or not.

Also, you will see from the listing in my OP, the html includes a DOCTYPE
and the HTML tag include a lang=da attribute. Since I've written the email
software, I can assure that the email contains precisely the html I listed.

Since my OP, if had improved results after I change the codepage to unicode
and the charset to UTF-8, but it still doesn't display correctly in some
email clients.

Chris

Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2877
by: dan glenn | last post by:
I'm creating HTML emails from a PHP site and sending them out to an email list (just about 40 people so far are on this list). I've tested and confirmed that these emails work in yahoo.com's webmail. And I know they work on *my* Outlook Express. But I have one person (I know of) who gets the emails as plain text, so she sees the HTML code for...
2
3182
by: Damien | last post by:
Hi to all, After hours of attempts and "googling", I'm still pulling my hair off my head when I try to send multipart html emails. It "works" on PCs with Outlook when I juste send a single "related" mail: one part for the HTML body, and several for the images. However, the images do not show on a Mac. I also wanted to have an...
4
2958
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50) i know how to create a plain text email by creating a text file, with content following certain format, and saving that file into the correct '..\mailroot\pickup' folder, and it is...
7
4379
by: Ray Booysen | last post by:
Hi all I'm sending email via ASP.NET in HTML mode. Each email has exactly one attachment and I do have full access to the SMTP server. However, if I send the email in HTML format, the framework reports the following exception: "System.Web.HttpException: Could not access 'CDO.Message' object. --->...
12
3913
by: Dave G | last post by:
Apologies if this has been covered before - I couldn't find it. I currently use ASPEmail to create and send HTML emails from an Access database. The text is personalised and includes embedded graphics, eg logos and even the recipients photo. Note that everything is embedded, no attachments are sent. ASPEmail works a treat but is very long...
21
2714
by: maya | last post by:
hi, I'm designing an HTML email for a client.. I know general guidelines (no CSS, no JavaScript... although I do use limited CSS, inside tags (as in <span style=".."we do this at work and it works fine, so I figured it's ok..) but I have a few more questions, for example, is it ok to do client-side image-maps? is there a web page...
1
2934
by: robbiesmith79 | last post by:
Just so this is out there on the web, I battled the past 24 hours about this. Background info... I developed a ecommerce website in PHP 4 on a shared linux hosting plan from GoDaddy and had the html formatted emails sending as text/html and were going fine with limited header information. Then we moved the site over to a Dedicated Linux...
1
1341
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 Can anyone recommend any good freeware that will allow me to send an HTML formatted email with an attachment? The attachment will also be an HTML file, but it would still be good to have a class/script that allows different attachment types. A key thing here is that the email is able to be viewed in Outlook. ...
2
343
by: Stan Brown | last post by:
Tue, 06 May 2008 17:47:46 -0700 from David E. Ross <nobody@nowhere.not>: Could you repost with the correct URL, please? -- Stan Brown, Oak Road Systems, Tompkins County, New York, USA http://OakRoadSystems.com/ HTML 4.01 spec: http://www.w3.org/TR/html401/ validator: http://validator.w3.org/
0
7710
marktang
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...
0
7935
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7692
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7992
tracyyun
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...
1
5519
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3677
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...
0
3666
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2128
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
0
969
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.