|
-
Dec 13th, 2007, 01:21 PM
#1
Thread Starter
Frenzied Member
sending e-mail smtp
Hey,
I use smtp to send e-mails.
When sending from a computer at an office it works fine (goest through a router).
When i'm trying to send from my computer, I get an error
"unable to connect to remote server".
I also have a router. Are there setting I must set on teh router in order to allow this?
Thanks,
MA
Don't anthropomorphize computers -- they hate it
-
Dec 13th, 2007, 01:52 PM
#2
Fanatic Member
Re: sending e-mail smtp
show us your code.
also make sure you have given a correct username and pass for the authentication part.
Try using google's SMTP server also.
-
Dec 13th, 2007, 02:04 PM
#3
Re: sending e-mail smtp
It depends what SMTP server you are using...if your using it at the office and it works then perhaps you are using an SMTP server on your network like an Exchange server? Obviously you would not be able to connect to this from home using an internal address...which is what would be used in the office.
-
Dec 13th, 2007, 02:48 PM
#4
Thread Starter
Frenzied Member
Re: sending e-mail smtp
No,
I'm using my host's smtp server. I have the credentials and the server name.
It works fine from the office I mentioned, but nowhere else.
This leads me to believe that it is probably something with the router as they have one as well.
Thanks,
Don't anthropomorphize computers -- they hate it
-
Dec 13th, 2007, 06:05 PM
#5
Re: sending e-mail smtp
I doubt it... unless you have specifically set yours up to block port 25..
When you say your host, you mean your ISP yeah? (internet service provider, just in case you didnt know)
Oh and the office uses the same ISP as you at home yeah?
Haveyou tried using telnet to test the connection on the SMTP port? If you dont know how to do that - Start -> Run -> cmd -> OK -> in the command prompt window that appears type in "telnet SMTP server_IP_address_or_DNS_name 25"
but without the quotation marks and obviously put your SMTP server name in.
If its working it should go through to another screen that will probably say the date and the name of the SMTP server. If it doesnt work it will just timeout after a while and say it couldnt connect.
Oh and also, is it the same machine your running this email script on at your office and at home? cos if you have Mcafee VirusScan on your home machine that can sometimes be set to block port 25 outbound from your PC to prevent virus' sending emails.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|