How to send email with HTML message and file attachment?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
urnetmate
Forum Commoner
Posts: 27
Joined: Wed Sep 27, 2006 1:09 am

How to send email with HTML message and file attachment?

Post by urnetmate »

How to send email with HTML message and file attachment in gz format?

I tried it in many ways, but either my message comes as an attachment or the gz attachment comes in along with the message.
I am using

Code: Select all

Content-Type: application/g-zip;
Please suggest the script.
:?:
jason.carter
Forum Commoner
Posts: 35
Joined: Sat Jan 10, 2009 10:05 am

Re: How to send email with HTML message and file attachment?

Post by jason.carter »

try phpmailer and set the isHTML to true and you are done.
Post Reply