I'm using :
$recipient = "$email";
$subject = "PDF";
$message = "some text";
$extra = "From: me@myemail.com";
mail($recipient,$subject,$message,$extra);
to send email through php. I've tried everything I could find online regarding attachments but nothing seems to work.
the file attempted is 'pdf/mypdf.pdf'
any help in this matter will be apreciated
$recipient = "$email";
$subject = "PDF";
$message = "some text";
$extra = "From: me@myemail.com";
mail($recipient,$subject,$message,$extra);
to send email through php. I've tried everything I could find online regarding attachments but nothing seems to work.
the file attempted is 'pdf/mypdf.pdf'
any help in this matter will be apreciated