Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - mail in us-ascii vs text-html
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

mail in us-ascii vs text-html

 Post Reply Post Reply
Author
rigg View Drop Down
Groupie
Groupie
Avatar

Joined: 13 November 2003
Location: Sweden
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote rigg Quote  Post ReplyReply Direct Link To This Post Topic: mail in us-ascii vs text-html
    Posted: 19 November 2003 at 2:02am

Why is some mails generated by WWF in us-ascii format and other in text-html? Is it possible to change so that all mails generated will be in text-html format?

(e-mail notify is one of the text-html based mail while most other are us-ascii)

The reason is that the letters å, ä and ö in the swedish language got messed up in many e-mail clients and making the mails quite unreadeble if the charset is "us-ascii"

 

/rigg



Edited by rigg
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2003 at 2:24am
You could try a different email component.

Each call to send an email passes across if the email is sent in HTML or text.

If you chnage it to text you will also need to change the formatting of the text in th email to HTML or it will all be on the same line. eg. change any line returns to <br>
Back to Top
rigg View Drop Down
Groupie
Groupie
Avatar

Joined: 13 November 2003
Location: Sweden
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote rigg Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2003 at 2:40am
I'm using ServerObjects AspMail. I saw in there helpfiles that I could use ISO-8859-1 charset instead, but then I have to put this line somwhere:

Mailer.CharSet = 2

/Rigg

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2003 at 3:10am
The functions to send the emails are all found in the file functions_send_mail.asp found in the functions directory, just edit this file.

It's all commented so you should find the part you need.
Back to Top
rigg View Drop Down
Groupie
Groupie
Avatar

Joined: 13 November 2003
Location: Sweden
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote rigg Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2003 at 3:13am

Done - working, thanx

 'Ändrar till ISO teckentabell för åäö...
       .CharSet = 2

/Rigg

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.