[eluser]mDonchev[/eluser]
Hi Guys,
I have a problem sending email with attachments.
When I make this in the controler:
Code:
$this->email->attach($_FILES["doc1"]["tmp_name"],$_FILES["doc1"]["name"]);
I get the email, and there is an attachment, but instead of the real filename, the attachment is displayed with the tmp_name of the attached file.
Can you give me a hand and tell me what I do wrong to get the real filename as a name of the attachment?
Thanks in advance
Martin