hi........ every body, i am new with drupal, and i have create a webform that send the user mail to admin , i have make a field for attach a file but when i received a mail from user as a admin, the attached file not received as a attch document, also show that field in mail as some text path and file name and extra word, please reply any solution or advice

Comments

quicksketch’s picture

Files are not sent as attachments in the e-mail. What path did it say the file was saved at? You should be able to click (or copy/paste) the URL in the e-mail and it will pull up the image.

Royal_Jat’s picture

no no it is not that path where file was seved, but it is looking something like

[ s:8:"filename";s:11:"biotech.jpg";s:8:"filepath";s:27:"files/webform/biotech_2.jpg";s:8:"filemime";s:10:"image/jpeg";s:8:"filesize";i:26783;s:6:"source";s:6:"attach";} ]

it is used the phpmailer , and in core php we can send a attach file by help of phpmailer, here can we able to add or edit the code of webform for sent attach file......

quicksketch’s picture

Status: Active » Closed (duplicate)

See #159678: Send file attachments in email for the feature request.