Jump to content

Adding attachment to php mail


etrader

Recommended Posts

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  :shy:

Link to comment
https://forums.phpfreaks.com/topic/233327-adding-attachment-to-php-mail/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.