Saafia NM

Saafia NM

  • NA
  • 22
  • 7.7k

How to add Attachments in php mail()

Jul 29 2017 6:45 AM
I just followed a tutorial and i can send attachments. But the hard coded file path is only can send, i.e;
 
$mail->AddAttachment("images/pdf/xyz.pdf"); 
 
i need to send the any chosen files.I did not get the path of chosen file.Please help me to move on....  
 

Answers (6)