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.
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.