Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 Goddady Shared Windows Server
Author « Topic »  

cbenz2005
Starting Member

12 Posts

Pre-sales questions only
(More Details...)

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

Andy
ECT Moderator

95440 Posts

Posted - 12/11/2018 :  13:31:15  
Hi

I'm pretty sure Godaddy settings also require a username and password. Can you try that?

Andy

Please feel free to review / rate our software

cbenz2005
Starting Member

12 Posts

Pre-sales questions only
(More Details...)

Posted - 12/11/2018 :  14:30:45  
I added the username/password for the Godaddy Plesk account with no success... . The script works without the credentials.

Andy
ECT Moderator

95440 Posts

Posted - 12/11/2018 :  23:57:05  
I would have thought you would need to enter your username, often your email address and email password to the admin. Also make sure you have CDO selected from the Email Object drop down.

Andy

Please feel free to review / rate our software

schreck
Advanced Member

USA
153 Posts

Pre-sales questions only
(More Details...)

Posted - 12/12/2018 :  06:16:22  
Try smtpout.secureserver.net in your SMTP admin field

cbenz2005
Starting Member

12 Posts

Pre-sales questions only
(More Details...)

Posted - 12/14/2018 :  05:26:09  
No luck with smtpout.secureserver.net

Andy
ECT Moderator

95440 Posts

Posted - 12/14/2018 :  05:53:28  
As far as I'm aware it is either

Server: smtpout.secureserver.net

or

Server: relay-hosting.secureserver.net

and with the username / password completed with an email object of CDO. Have you tried all those combinations?

Andy

Please feel free to review / rate our software

ecws
Advanced Member

USA
173 Posts

Pre-sales questions only
(More Details...)

Posted - 12/14/2018 :  06:45:38  
I am on Godaddy Plesk.
Here is the code I use and it 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=request.form("email")
objMail.To="sender@coolexample.com"
objMail.Subject="Contact Us Question"
objMail.HTMLBody=request.form("comment")
if (objMail.Send = 0) then
set objMail = nothing
response.Redirect ("contact_success.html")
else
set objMail = nothing
response.Redirect ("index.html")
end if
%>

Dean
www.ecomwebstore.com
[img]http://www.ecomwebstore.com/images/ecw_sm.jpg[/img]

Edited by - ecws on 12/17/2018 06:32:21
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000