Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 12-05-2004, 08:23 PM   #1 (permalink)
v7n Mentor
 
Sketch's Avatar
 
Join Date: 05-06-04
Location: London, UK
Posts: 1,453
iTrader: 0 / 0%
Latest Blog:
None

Sketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web pro
Mail List - SQL - Send HTML Formatted Email?

Hi, currently I have a bunch of emails in a SQL database and they come out of that database into the PHP mail script and an email is sent all pretty simple, but my problem is I want to be able to send html formatted emails to everyone, but it doesn't seem to work with a lot of emails, it worked fine with hotmail but then with gmail and outlook express it didn't seem to work so what type of code do I need to put into the email so that it can sent html formatted emails to most clients? its ok if a few don't work but I would like to get as many working as possible.

Cheers

Mickok
Sketch is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-15-2004, 01:23 PM   #2 (permalink)
Inactive
 
insitedev's Avatar
 
Join Date: 12-14-04
Posts: 108
iTrader: 0 / 0%
Latest Blog:
None

insitedev is liked by somebodyinsitedev is liked by somebodyinsitedev is liked by somebodyinsitedev is liked by somebody
Have you tried placing a MIME type header on the e-mail message?

Assuming that you are using the mail() function of PHP, you can do this by entering Content-Type: text/html; charset=iso-8859-15 into the 4th argument. Example:

Code:
mail('your@email.com', 'Subject', 'Message', 'Content-Type: text/html; charset=iso-8859-15');
Are you using a different method of sending the e-mail?
insitedev is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-15-2004, 09:11 PM   #3 (permalink)
v7n Mentor
 
Sketch's Avatar
 
Join Date: 05-06-04
Location: London, UK
Posts: 1,453
iTrader: 0 / 0%
Latest Blog:
None

Sketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web proSketch is a highly respected web pro
Thats what I was using but without the Content stuff. Thanks Man ;-)
Sketch is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Pop3 and send mail eviljoker7075 Web Design Lobby 2 09-06-2006 04:58 AM
qmail does not send e-mail keko Dedicated Servers 1 06-23-2006 01:09 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:14 AM.
© Copyright 2008 V7 Inc