Page 1 of 1

How to send email notifications with attachements?

Posted: Fri Jul 08, 2022 6:26 am
by muavevinwonder
Hi,

How can we send the email notification with attachment? it can be pdf, docx or txt.
I'm facing the problem in sending the mail to the multiple users. even I used your PMFSendMessage ( @@APPLICATION,
from,
to,
cc,
bcc,
subjectAuto,
'templateNotification.html' ); function. but it's not working. please give me an example related to the sending mail to the multiple users.

Please resolved this problem, I will be thankful to you.

Thanks
Gaurav Agrawal

Re: How to send email notifications with attachements?

Posted: Wed Oct 05, 2022 3:09 pm
by ronrich
Hello muavevinwonder,

Please take a look at the link below, you'll find some examples to achieve this:

https://wiki.processmaker.com/3.2/ProcessMaker_Functions/Email_Functions#PMFSendMessage.28.29

Look for these sections:
    Example Emailing Attachments from the Process Files Manager:
    Example Emailing Input Document Files:
    Example Emailing a File Uploaded to a Dynaform's File Field:
    Example Emailing Generated Output Document Files:
I hope this helps.

Kind regards,