Author: Eng_MR | Posted on: 9/20/2008 3:31:12 AM | Views : 291

 Hay everybody,
i have a problem with sending mail, just that the mail server support said to me that i must to indicate username, pawword for e-mail that i sending from it 
i try more to search about it can be maked ... but no way ...
my code is :
  
Dim email As New System.Web.Mail.MailMessage
email.To = "adminTo@admin.com"
email.From = "adminFrom@admin.com"
email.Body = "message body"
email.Subject = "message subject"
System.Web.Mail.SmtpMail.SmtpServer = "mail.smtp.com"
System.Web.Mail.SmtpMail.Send(email) 
the problem with me now that i want to include  password for e-mail "adminFrom@admin.com"
is it possible or not ? Go to the complete details ...