Hi,
I send out an e-mail to all my registered members about once a week through the control panel "Mail Users" page.
I would like to include a graphic in the e-mail as well.
I know the file that sends out the mail is mail-lib.pl but I do not know how to modify it or if other files would need to be edited as well.
Any help here would be GREATLY appreciated.
Thanks in advance.
This is what I think I should do. Hopefully you can let me know if I'm close.
First, I know (I think I know) that plain e-mail should have a header of "Content-Type:text/plain; charset=us-ascii"
and a html email should have a header of "MIME-Version 1.0 Content-Type:text/html; charset=us-ascii"
Looking at the mail-lib file I do not see either. This confuses me a bit. I am thinking about adding the html header in this section
#
# Print the mail message to the Mail Program
# using the HERE Document method
#
print MIME-Version 1.0 Content-Type:text/html; charset=us-ascii
print MAIL <<__END_OF_MAIL__;
To: $touser
From: $fromuser
Subject: $subject
What do you think?
Brian Hannigan
http://InspectionNews.com