etrader Posted April 11, 2011 Share Posted April 11, 2011 I send email via simple code of $message="$description"; $to="email@googlemail.com"; $from="email@hotmail.com"; $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 Quote Link to comment 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 Quote Link to comment 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.