R
Rob Meade
Lo all
Ok, had problems sending emails for the first time on the new server setup
this evening, found the ASP FAQ article :
http://www.aspfaq.com/show.asp?id=2026
Which offered an answer to my problem - however - I then got another error -
ASP FAQ once again resolved this :
http://www.aspfaq.com/show.asp?id=2305
In this scenario changing the 2 to a 1 solved the problem and the email was
sent...
So, at the moment I am able to send emails using my own server - I then
wanted to check that the CDO way of sending emails was going to work on a
hosting companies server that I also use - I FTP'd the testemail.asp file
up - ran it - bingo - got an email - now I'm wondering WHY! I had left the
server ip as it was for my own network - I find it hard to believe that just
by pure luck their email server is using the same IP as mine, and as it was
a local IP (192.168 etc) - it wasn't going to resolve any other
way...so...do I actually need this :
cdoConfig.Fields.Item(sch & "smtpserver") = "<enter_mail.server_here>"
Or can it be left out - or - did it get ignored because of the 2 being set
to a 1...
I have no idea what these values actually mean so any help would be
appreciated - my knowledge of all things SMTP is slim to none - and we just
waved goodbye to slim.... )
Thanks in advance for any help - oh and thanks for www.aspfaq.com for those
great articles... )
Regards
Rob
Ok, had problems sending emails for the first time on the new server setup
this evening, found the ASP FAQ article :
http://www.aspfaq.com/show.asp?id=2026
Which offered an answer to my problem - however - I then got another error -
ASP FAQ once again resolved this :
http://www.aspfaq.com/show.asp?id=2305
In this scenario changing the 2 to a 1 solved the problem and the email was
sent...
So, at the moment I am able to send emails using my own server - I then
wanted to check that the CDO way of sending emails was going to work on a
hosting companies server that I also use - I FTP'd the testemail.asp file
up - ran it - bingo - got an email - now I'm wondering WHY! I had left the
server ip as it was for my own network - I find it hard to believe that just
by pure luck their email server is using the same IP as mine, and as it was
a local IP (192.168 etc) - it wasn't going to resolve any other
way...so...do I actually need this :
cdoConfig.Fields.Item(sch & "smtpserver") = "<enter_mail.server_here>"
Or can it be left out - or - did it get ignored because of the 2 being set
to a 1...
I have no idea what these values actually mean so any help would be
appreciated - my knowledge of all things SMTP is slim to none - and we just
waved goodbye to slim.... )
Thanks in advance for any help - oh and thanks for www.aspfaq.com for those
great articles... )
Regards
Rob