[SOLVED] Â Runner Email Fails on Godaddy Host but this Code does not |
5/19/2014 11:59:57 AM |
ASPRunnerPro General questions | |
T
Timbuck2 author
using asprunner professional version 8.0 DEMO |
|
![]() |
Sergey Kornilov admin 5/19/2014 |
Feel free to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. Someone will take a look and be back to you. |
T
|
Timbuck2 author 5/19/2014 |
using asprunner professional version 8.0 DEMO I tried to send email directly using gmail as the smtp server. This works on my localhost, but google blocks the connection on my web host. Which is fine. So I setup an email account on my godaady host and tried to configure an asprunner app to perform forgot password , etc email functions. They all fail. I create the following code and uploaded it to the same server and it sends email every time. It will cc BCC send text html and attach itself as a file and produces no errors. I am wondering what change would fix ASPrunner. So that if I buy they new version. It will perform Email properly on this type of Godaddy Host. Everytime I create a project with it. <% L 1: L 2: L 3: L 4: SET CONFIG = CREATEOBJECT("CDO.CONFIGURATION") L 5: SET MESSAGE = CREATEOBJECT("CDO.MESSAGE") L 6: CONFIG.FIELDS.ITEM("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 L 7: CONFIG.FIELDS.ITEM("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "relay-hosting.secureserver.net" L 8: CONFIG.FIELDS.UPDATE L 9: SET MESSAGE.CONFIGURATION = CONFIG L 10: MESSAGE.SUBJECT = "SUBJECT" L 11: MESSAGE.FROM = "tim@XXXXXXXX.com" L 12: MESSAGE.TO = "timbeas@XXXXXX.com" L 13: MESSAGE.CC = "" L 14: MESSAGE.BCC = "" L 15: MESSAGE.TEXTBODY = "TEXT" L 16: MESSAGE.HTMLBODY = "<DIV>HTML</DIV>" L 17: MESSAGE.ADDATTACHMENT(SERVER.MAPPATH(".") & "\CDO_SEND.ASP") L 18: MESSAGE.SEND SUB L(N) ON ERROR RESUME NEXT RESPONSE.WRITE N & " " & ERR.NUMBER & ERR.DESCRIPTION & "<BR>" END SUB %>
|