Click here to Skip to main content
15,939,736 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to generate and email a PDF in MVC.
Posted
Comments
F-ES Sitecore 14-Sep-15 4:29am    
This is one of the most frequently asked questions, please do basic research before asking a question. Google "create pdf asp.net" and you'll find lots of resources.

1 solution

This is a set of referenced to PDF libraries you can use: http://csharp-source.net/open-source/pdf-libraries.

In particular, you can try this one: https://pdfapi.codeplex.com.

For sending mail, you can use:
https://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage%28v=vs.110%29.aspx[^],
https://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient%28v=vs.110%29.aspx[^].

For the mail client using protocols other than SMTP, there is a number of 3rd-party solutions.

—SA
 
Share this answer
 
Comments
ashishrockstar 14-Sep-15 5:14am    
Thanks for the reply.
Sergey Alexandrovich Kryukov 14-Sep-15 10:20am    
This is not a reply, this is a solution. Will you accept it formally?
In all cases, your follow-up questions will be welcome.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900