cancel
Showing results for 
Search instead for 
Did you mean: 

Send Invoice email with pdf attachement through DI?

Former Member
0 Kudos

Hi all,

is it possible to send an Invoice email with pdf attachement through DI as it can be done through UI?

Best Regards,

Vangelis

Accepted Solutions (0)

Answers (3)

Answers (3)

rajesh_khater
Active Participant
0 Kudos

When you add an attachment using Attachments2 object, to which standard object does that attachment get attached? For example, the Business Partner or AR Invoice etc.
If we want to attach the attachment for the purpose of sending email only, and do not want to store it in the Attachments folder, what is the way?

Former Member
0 Kudos

If you generate the PDF file outside from SDK, you can attach to the mail using Attachments2 object of DI API.

Regards

János

Johan_H
Active Contributor
0 Kudos

Hi Vangelis,

I Don't think that the DI API has that functionality (but I am not sure).

However with .Net's System.Net.Mail it should be quite easy to build.

Good luck,

Johan