Mailer scripts
Moderator: General Moderators
Mailer scripts
Now I've got my mailer script working, I'm wondering what makes the email come as a plain text style email?
I'm using plenty of html code and all the mails are showing html tags inside the email body.
I want the server to send a HTML email.
Something to do with the ISP's Webserver?
I'm guessing they're extra tags to put in the php file?
I'm using plenty of html code and all the mails are showing html tags inside the email body.
I want the server to send a HTML email.
Something to do with the ISP's Webserver?
I'm guessing they're extra tags to put in the php file?
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
Mailer script is send plain text email instead of html
Well at first I thought there was a wrong setting in Outlook that read all mails as plain text, so I sent it to a hotmail address, and got the same result. I've changed the setting to 'Use MS Word to read Rich Text mails'. No different.
Now I have no idea.
Now I have no idea.
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
Err no. This is the end part
What sort of things tell it to be a html email?
Code: Select all
//This sends a confirmation to your visitor
mail($email, $theirSubject, $theirBody,"FROM:".$adminaddress);
echo "1"
?>There is a tutorial at http://www.sitepoint.com/article/advanced-email-php
also, you may want to have a look at http://phpmailer.sourceforge.net/
- a very nice mailing class with a straightforward and powerful API.
also, you may want to have a look at http://phpmailer.sourceforge.net/
- a very nice mailing class with a straightforward and powerful API.
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
i have no idea, like i said i havent used this function as i mainly code on windows, not on my linux box and dont need the hassle of setting up a local mail server on it
theres some items about it
here
edit: lolololol same links
theres some items about it
here
edit: lolololol same links