Call BizForm.SendNotificationEmail() with file attachment

Nattawut Comlon asked on December 8, 2015 07:28

Hi,

I am trying to send an email notification on biz form with attachment. It works in CMS but there is no attachment when sending email notification via API.

I have a form which is setup to accept file upload and I tested to create a new record in the CMS, it sent out the email notification with attachment. However, when I create a web part for that form to send the notification, the email is sent but there is no file attachment.

Is there any way to set the attachment of the email? Thank you very much in advance.

  • Nattawut

Recent Answers


Brenden Kehren answered on December 8, 2015 14:09

I could be wrong but in v8 you called GetBizFormAttachmentLink() and it would generate the actual HTML you'd append to the body of the email being sent.

0 votesVote for this answer Mark as a Correct answer

Nattawut Comlon answered on December 9, 2015 03:46

hi Brenden,

Instead of the link to the file, can it be the attachment within the email?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on December 10, 2015 23:27

That I'm not sure. I typically don't use the BizForm auto responder with attachments. I'll typically create a new setting and allow selection of an email template and attach a file that way, it's easier to work with.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.