U
UJ
I'm way out of my league here but I'm having problems sending e-mails
programmatically. I have a web app that will allow users to have e-mail sent
to them (forgotten password/resetting password, ...) When I send it to the
same domain as our company, it works fine. When it's outside the company, I
get an error message saying '550 not local host <domain name>, not a
gateway.
So for instance - if I am trying to send an e-mail from our domain
(@test.com) and want to send to the domain (@stupiduser.com), I get the
message '550 not local host stupiduser.com, not a gateway. If I send from
(@test) and go to (@test) it works fine.
My e-mail server is a POP3 server - or at least that's what our provider has
given me - it's POP3.<ISP Company Name>.COM
The code to send the e-mail is:
SmtpMail.SmtpServer = pvsSmptServer;
SmtpMail.Send(pvsSendFrom, pvsSendTo, pvsSubject, pvsMailMessage );
where all of the pvs vars are passed in and look fine.
Any thoughts or suggestions?
TIA - Jeff.
programmatically. I have a web app that will allow users to have e-mail sent
to them (forgotten password/resetting password, ...) When I send it to the
same domain as our company, it works fine. When it's outside the company, I
get an error message saying '550 not local host <domain name>, not a
gateway.
So for instance - if I am trying to send an e-mail from our domain
(@test.com) and want to send to the domain (@stupiduser.com), I get the
message '550 not local host stupiduser.com, not a gateway. If I send from
(@test) and go to (@test) it works fine.
My e-mail server is a POP3 server - or at least that's what our provider has
given me - it's POP3.<ISP Company Name>.COM
The code to send the e-mail is:
SmtpMail.SmtpServer = pvsSmptServer;
SmtpMail.Send(pvsSendFrom, pvsSendTo, pvsSubject, pvsMailMessage );
where all of the pvs vars are passed in and look fine.
Any thoughts or suggestions?
TIA - Jeff.