Click here to Skip to main content
15,936,709 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
sir i making an job portal i want to send user detail in pdf form on his mail id after completing the form on button click how can i do please provide the code
Updated 22-May-16 22:25pm
Sergey Alexandrovich Kryukov 20-May-16 23:33pm    
Why PDF? Natural form of formatted text for e-mail is HTML, which can be directly rendered by most e-mail applications. .NET also supports HTML directly for the whole message, without a need to define mail parts ("attachments"). Of course, you can compose mail from different parts, with separate content-type and content-disposition each.

What's wrong with just reading original MSDN documentation where everything is clearly described?

What have you tried so far?

Try something on your own and come back with some codes.
Homero Rivera 21-May-16 16:16pm    
Just suggesting... Don't use SQL Server e-mail for this purpose. That will put more stress on a server specifically for database work.

Better use backend C# or PHP (whatever your case is) to send that e-mail. Also, if you have errors there they are easier to find.

1 solution


Check this link:Generate (Create) PDF and send as email attachment in ASP.Net[^]

Hope this helps !
Share this answer

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