I'm using CDOSYS to email out of a web page. Here's the code:
emailSubmitter = rs("emailaddr" )
Set myMail.Configur ation = objConfig
mymail.From = "Training Event Approval/Decline"
myMail.To = emailSubmitter
myMail.Subject = "Training Form Approval"
myMail.HTMLBody = strBody
When I send it out with a variable in myMail.From I get an error '8004020e'.
When I put a regular email address, like someone@comed.c om, it works ok.
What's going wrong?
emailSubmitter = rs("emailaddr" )
Set myMail.Configur ation = objConfig
mymail.From = "Training Event Approval/Decline"
myMail.To = emailSubmitter
myMail.Subject = "Training Form Approval"
myMail.HTMLBody = strBody
When I send it out with a variable in myMail.From I get an error '8004020e'.
When I put a regular email address, like someone@comed.c om, it works ok.
What's going wrong?
Comment