Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Net::smtp sends, but I'm not receiving...

by JohnConn (Initiate)
on Dec 15, 2007 at 17:46 UTC ( [id://657215]=perlquestion: print w/replies, xml ) Need Help??

JohnConn has asked for the wisdom of the Perl Monks concerning the following question:

Good day, gracious monks. ;) I am trying to build a simple program to send mail. Were I on a Unix box, it wouldn't be an issue, but Windows baffles me! I'm using Active Perl 5.8.8 and the Net:smtp module. My code looks almost exactly like the sample code, with my particulars included. Everything appears fine in the debug output; my outbound virus scanning even fires up! Still, I have yet to receive a single email. Could my ISP (Comcast) be the source of the trouble? Is there more information I can send along such that they know it's an authentic email? Please bear in mind that I am *weak* on smtp and networking, in general. Thanks much, The Humble Acolyte, John
  • Comment on Net::smtp sends, but I'm not receiving...

Replies are listed 'Best First'.
Re: Net::smtp sends, but I'm not receiving...
by pfaut (Priest) on Dec 15, 2007 at 18:02 UTC

    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
Re: Net::smtp sends, but I'm not receiving...
by NetWallah (Canon) on Dec 15, 2007 at 19:43 UTC
    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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://657215]
Approved by McDarren
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-25 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found