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....