Posted on: 10/14/2013 5:07:45 AM | Views : 704

Hi all,
Below code is used to send a mail with atachements for business people. This code is working fine but i need to send a mail with attachements as ZIPPED. How can i do that.

private void SendMail() { string subject; string message; string from; string to;
List<string> attachement = new List<string>();
MailStatus.Visible = true;
message = this.CurrentPage.CurrentUser.LogonName + "\n";
message += this.CurrentPage.CurrentUser.State.Country.Name + "\n";
message += this.Request.Url.Host + "\n";
message += this.Request.Url.Port + "\n"; message += this.GetUserIP() + "\n"; message += DateTime.Now.ToString();
if(message == "") { MailStatus.Text = "Mail not sent"; return; } subject = (this.MailSubject ! ...

Go to the complete details ...