Sending Mails

M

Mariame

Hi Everyone,
im sending mails using this code
Dim smtpmail As Mail.SmtpMail

Dim msgRequest As New Mail.MailMessage

msgRequest.BodyFormat = Mail.MailFormat.Html

msgRequest.Subject = "Track"

msgRequest.From = "(e-mail address removed)"

msgRequest.To = "(e-mail address removed)"

smtpmail.SmtpServer = "ServerName"

msgRequest.Body = "BodyMail"

smtpmail.Send(msgRequest)

* it give me the following error "

The message could not be sent to the SMTP server. The transport error code
was 0x800ccc15. The server response was not available

Any Idea Whats Wrong in it??

Thx in Adv.
 
R

Rob T

Maybe your smtp server doesn't allow relaying? You can usually allow
relaying for the IP address(es) of your web server(s)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top