Hi there, not sure if I'm posting this to the right place, so please bear with me. Just started running exchange server 2003. I have a help desk applicaiton in asp, using the smtp server to email us when someone posts a helpdesk ticket. I do not get an error when sending email but the email doesn't send. It was fine with our other mail server not it's not. It's hard without an error but if somebody submits a ticket, we are not receiving the email. Any thought would be greatly appreciated. I'm using the IP address instead of "localhost" or "mail.whatever.com" and it is the correct IP address. Thanks.
Here's the script I'm using:
Here's the script I'm using:
Code:
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Testing email CC"
myMail.From="problem@problem.com"
myMail.To="fixer@address.com"
mymail.CC="copy@address.com"
myMail.HTMLBody="please reply if you get this"
myMail.Configuration.Fields.Item _
("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/sendusing")=2[/URL]
'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item _
("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/smtpserver")="My[/URL] IP Address"
'Server port
myMail.Configuration.Fields.Item _
("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25[/URL]
myMail.Configuration.Fields.Update
myMail.send
Response.Write "Ticket Submitted Successfully."