home / software / tips and tricks / how to send email with multiple attachments using C Sharp in ASP.NET

how to send email with multiple attachments using C Sharp in ASP.NET

Updated:  11/29/2012 09:11 AM
Author:  Shiju Mathews

Status:    Resolved.


Using "SmtpClient" class we can send emails with multiple attachments.

System.Net.Mail.Attachment attachment class can be used to add each attachment to the Attachments property of the MailMessage.



string Attachments : is a string contains the name with full path of each file to be attached. In this string each file is seprated by ";"
Tags: how to send email with multiple attachments using C Sharp in ASP.NET
Updated on: November 2024