473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

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.org/>. 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.htmlto 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 3066
"CJM" <cj*****@removeme-yahoo.co.ukwrites:
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="section_boundary"; charset=utf8
.... More headers

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

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

HTML goes here
--section_boundary

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.org/>. 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.htmlto 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
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...
2
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...
4
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...
7
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...
12
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...
21
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...
1
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...
1
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...
2
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
jinu1996
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...
0
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...
0
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...

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.