M
Mariame
Hi Everyone
im using the following code to send an email:
Dim smtpmail As Mail.SmtpMail
Dim msgRequest As New Mail.MailMessage
msgRequest.BodyFormat = Mail.MailFormat.Text
msgRequest.Subject = "Subject"
msgRequest.To = "to.com"
msgRequest.From = "from.com"
msgRequest.Body = x
smtpmail.SmtpServer = "server"
smtpmail.Send(msgRequest)
the problem is the smtp server is not configure to accept anonymous login so
i have to send username & password to be authenticated .
Any idea about how to do it?
im using the following code to send an email:
Dim smtpmail As Mail.SmtpMail
Dim msgRequest As New Mail.MailMessage
msgRequest.BodyFormat = Mail.MailFormat.Text
msgRequest.Subject = "Subject"
msgRequest.To = "to.com"
msgRequest.From = "from.com"
msgRequest.Body = x
smtpmail.SmtpServer = "server"
smtpmail.Send(msgRequest)
the problem is the smtp server is not configure to accept anonymous login so
i have to send username & password to be authenticated .
Any idea about how to do it?