
- Forum
- Programming Talk
- Microsoft .NET
- Send Mail Using SMTP
Send Mail Using SMTP
This is a discussion on Send Mail Using SMTP within the Microsoft .NET forums, part of the Programming Talk category; hi I am using System.Web.Mail.MailMessage with System.Web.Mail.SmtpMail to send mail. now the my question is, Is it compulsory to add ...
-
09-06-2006, 06:22 AM #1
- Join Date
- Jul 2006
- Answers
- 3
Send Mail Using SMTP
hi
I am using System.Web.Mail.MailMessage with System.Web.Mail.SmtpMail to
send mail. now the my question is,
Is it compulsory to add fields smtpauthenticate, sendusername and
sendpassword fields to MailMessage Object????.
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1")
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
SMTPEmail)
mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
SMTPPassword)
Which fields will i have to add if my SMTP Server doesn't require
authentication.
-
11-15-2006, 02:01 PM #2
HI,
you need not add any of the above 3 fields to send a mail from your local machine to any Email id. what you need are : from , to , Subject
thatz all.. if you have any doubts you can mail me at svs_i43@yahoo.com
gud luck.

Reply With Quote





