scrubbicus Posted November 21, 2009 Share Posted November 21, 2009 I'm trying to get images to send along with my HTML e-mail sent through PHP mail(). I only tried viewing the e-mail through google mail and thunderbird, google mail showed the image but thunderbird could not, even after I told it too accept images. What's the proper way to send an image if there is one? I just added a simple <img src=""> too my HTML e-mail. Quote Link to comment https://forums.phpfreaks.com/topic/182374-php-mail-with-images/ Share on other sites More sharing options...
jmajeremy Posted November 21, 2009 Share Posted November 21, 2009 I suppose if it's working in Google Mail but not Thunderbird then it's an issue with the mail client, not the HTML or PHP you're using. Is Thunderbird set to allow HTML? This would be something separate from allowing images. Quote Link to comment https://forums.phpfreaks.com/topic/182374-php-mail-with-images/#findComment-962416 Share on other sites More sharing options...
genericnumber1 Posted November 21, 2009 Share Posted November 21, 2009 Also be sure you're setting the content-type header of the email to text/html. Quote Link to comment https://forums.phpfreaks.com/topic/182374-php-mail-with-images/#findComment-962420 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.