I have looked at this forum's topics and tried to follow it, but I still can't seem to get the emails to work. I am hosted at webhost4life.com and talked to the support reps about the port the SMTP server uses (25 or 366). Still nothing. Here are my settings:
Thank you for the quick responses. My testing consisted of logging on as main administrator and send test email to a member (me set up also as member but different email address than administrator). I also logged on as a member and tried to email to the administrator.
One other question I do have concerns testing. When I make a script change and upload, I just logout and log back in. Is that enough to pickup the latest script, or is there a "cashe flush" command?
I did try smtpserverport = 25, but no luck. Also, I am assuming that strMailServer is set to E-Mail Server Address that is set in the E-Mail Server Configuration section of the setup. I will try to hardcode it as a parameter.
you should not have to log in/out to pick up any code changes.
as long as you are entering all the correct information supplied to you by your mail host then everything should be working, if sending does not produce an error, then try looking in your emails spam filters in case that is what is trapping the emails.
I have finally got it to work. Here is the setting:
_____________________________________________________________________ case "cdosys" Set iConf = Server.CreateObject ("CDO.Configuration") Set Flds = iConf.Fields
Hard coding strMailServer to "buckadaywebsites.com" was accidental for it should have been mail.buckadaywebsites.com which is the SMTP sever. I did try it as "mail.buckadaywebsites.com" but it didn't work. Before closing this off, I am confused why it accepted it as an SMTP server. Any simple explanation?
So the exact configuration above worked? I'm on webhost4life also and can't seem to get the same commands to work. When I use what you have, with my account info, I get an internal server error when I go to register.