Posted - 12/11/2018 : 13:07:53
Hello,
I have been using ecommerce templates since 2005 on a windows 2003 server platform. Recently, we migrated the site to GoDaddy. I am having trouble getting the smtp to work. They following test script is works
sendUrl="http://schemas.microsoft.com/cdo/configuration/sendusing" smtpUrl="http://schemas.microsoft.com/cdo/configuration/smtpserver" ' Set the mail server configuration Set objConfig=CreateObject("CDO.Configuration") objConfig.Fields.Item(sendUrl)=2 ' cdoSendUsingPort objConfig.Fields.Item(smtpUrl)="relay-hosting.secureserver.net" objConfig.Fields.Update ' Create and send the mail Set objMail=CreateObject("CDO.Message") ' Use the config object created above Set objMail.Configuration=objConfig objMail.From="sender@coolexample.com" objMail.ReplyTo="sender@coolexample.com" objMail.To="usertest@yahoo.com" objMail.Subject="subject" objMail.TextBody="body" objMail.Send
I used "relay-hosting.secureserver.net" as smtp server in the vsadmin settings, no username, no password. Testing trough EMAIL FRIEND with no success.
Any suggestions / help !!!
Thank you !!!
|