etrader Posted April 11, 2011 Share Posted April 11, 2011 I send email via simple code of $message="$description"; $to="[email protected]"; $from="[email protected]"; $headers="From:" . $from; mail($to,$title,$message,$headers); I am looking for the simplest way to add attachment to the email. The instructions given on the internet make the case complicated. I just need to make it simply. Thanks Link to comment https://forums.phpfreaks.com/topic/233327-adding-attachment-to-php-mail/ Share on other sites More sharing options...
kenrbnsn Posted April 11, 2011 Share Posted April 11, 2011 The easiest way to add attachments to PHP mail is to use a class like PHPMailer Ken Link to comment https://forums.phpfreaks.com/topic/233327-adding-attachment-to-php-mail/#findComment-1199925 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.