Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMTP Mail and AOL

Status
Not open for further replies.

croydon

Programmer
Apr 30, 2002
253
EU
I'm not sure if this is the right forum......

I have written an application in ASP.NET (VB.NET) that sends email confirmations. I have been testing this on my local PC which is connected to the Internet via AOL.

The emails are not being delivered. They are instead rejected (email is sent to the Mail Message 'From' addressee) with the message "AOL has identified this mail to be unsolicited bulk email". The email is sent through SMTP so I don't understand why AOL is involved (the emails are not sent to AOL addresses) or why "bulk" is mentioned as only three emails were sent.

I assume there must be a setting within IIS (or AOL) that needs to be changed, or there is a error in my program. The actual code is:

mailMessage.From = strClubEmail
mailMessage.To = rdrMember("Email")
mailMessage.Bcc = strClubEmail
mailMessage.Subject = strNewSubject
mailMessage.BodyFormat = System.Web.Mail.MailFormat.Text
mailMessage.Body = strNewBody
System.Web.Mail.SmtpMail.SmtpServer = "localhost"
System.Web.Mail.SmtpMail.Send(mailMessage)

Any suggestions would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top