Jump to content

Archived

This topic is now archived and is closed to further replies.

adyre

Advance Mail - Mail with attach & HTML Mail

Recommended Posts

How can I send a mail with an atachment and with HTML...

For HTMl I tried Content Type and it doesen't work to send to yahoo...

Don't wan't phpmailer... just a simple cod...

Anticipated 10x...

Share this post


Link to post
Share on other sites
It's all about the headers. For HTML mail:

[code]$headers  = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";[/code]

As for attachments, you might want to look at this:
[a href=\"http://www.finalwebsites.com/snippets.php?id=36\" target=\"_blank\"]http://www.finalwebsites.com/snippets.php?id=36[/a]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.