Net::SMTP allows you to talk to an SMTP server as a client. It does not allow you to establish yourself as an SMTP server.
Aside from that, setting up an SMTP server is not for the weak. You're probably better off allowing your ISP to handle your incoming mail unless you have the time to become very knowledgeable about SMTP, DNS, and network security.
90% of every Perl application is already written. ⇒ | dragonchild |
| [reply] |
Most likely, you are being impeded by one or more firewalls.
The first suspect would be the Windows firewall, which exists on WinXP-SP2 onwards. Next, there may be NAT issues, and company firewall/IDS impediments. The ISP may also limit you to sending outbound SMTP from only specified IP addresses, or having specific source and destination domain names in the message.
With this many variables, tackling this is not for the feint of heart. You need decent sniffing tools, and administrative cooperation.
A starting point would be to look at the Windows event log (run eventvwr from a command line, for *nix geeks).
"As you get older three things happen. The first is your memory goes, and I can't remember the other two... "
- Sir Norman Wisdom
| [reply] |