简体   繁体   中英

How to create and attach to email multiple PDFs using iTextSharp?

I'm using iTextSharp and I was wondering, how do I send multiple PDFs as attachments? Also does it work in Azure? Thanks in advance, I appreciate it.

We've used iTextSharp in Azure for over a year without any problems.

You'll probably want to use a third party email service to prevent emails from being caught in spam filters. I'd recommend using Amazon SES (Simple Email Service). It's cheap and reliable. That being said, you'll have to read the documentation of the third party email service you end up using to see how to work with email attachments.

For reference, here is a post from the Windows Azure blog that lists three ways to send emails from Azure. I mentioned #3 above. The other two methods require you to use an on-premise email server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM