PHP mail function help

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
zaib_alone
Forum Newbie
Posts: 3
Joined: Sat Nov 26, 2011 11:41 am

PHP mail function help

Post by zaib_alone »

Actually I'm facing a problem.
problem is that I've made a mailing script in php, that is working fine, but now i want to add some images in my email, when i write some image code then in email same code print in email instead of image.
could anyone plz guide me?
thnx
Last edited by pickle on Thu Jan 12, 2012 4:41 pm, edited 1 time in total.
Reason: Fixing the obnoxious font size
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PHP mail function help

Post by Christopher »

See the manual for the mail() function of examples on how to create MIME emails. You may want to try SwiftMailer or phpMailer because it is difficult to get all the details of MIME emails correct.
(#10850)
zaib_alone
Forum Newbie
Posts: 3
Joined: Sat Nov 26, 2011 11:41 am

Re: PHP mail function help

Post by zaib_alone »

Thank you Christopher.
Post Reply