phpcodec Posted August 16, 2008 Share Posted August 16, 2008 How can i send a mail via php and in the message show an image? Link to comment https://forums.phpfreaks.com/topic/119957-php-mail-and-images/ Share on other sites More sharing options...
PC Nerd Posted August 16, 2008 Share Posted August 16, 2008 you woudl have to use the GD library of php you woudl then need to set this image as an HTML email.... to send HTML email - i found http://code.web-max.ca/misc_htmlemail.php on google. edit: second thought - if you wanted teh page to be the image simply output your page as normal and use output buffering to capture that content. then you just have to write that to the image using the above method. Link to comment https://forums.phpfreaks.com/topic/119957-php-mail-and-images/#findComment-617953 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.