Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^3: Mail::Sender Problems.

by Steve_BZ (Chaplain)
on Aug 09, 2012 at 11:48 UTC ( #986495=note: print w/replies, xml ) Need Help??

in reply to Re^2: Mail::Sender Problems.
in thread Mail::Sender Problems.

Hi Flex, Hi Zentara, Hi rpnoble419,

Well the general advice seems to be try another port, it sounds like good advice. I'll try one later today.

Another piece of info is that my current router is a '3' MyFi router (ie a sim card), so I guess ISP's spamming restrictions maybe harsher, I recall that when I used a t-mobile data card, they had to provide me with an smtp server, maybe 3 is the same, I'll check it out.



Replies are listed 'Best First'.
Re^4: Mail::Sender Problems.
by flexvault (Monsignor) on Aug 09, 2012 at 13:55 UTC


    Are you trying to connect directly to a MTA?

    The preferred method is to send the email to your mail machine ( MTA ), and let that machine (MTA) deliver the mail for you.

    When using a dynamic IP address most ISPs will require Pop-before-SMTP or SMTP authentication before allowing you to send mail to their users

    Thank you

    "Well done is better than well said." - Benjamin Franklin

      Hi Ed,

      The way I think Mail::Sender works is like most clients, it logs on to the server (ie my ISP, in this case I am using a private sevice called authsmtp (which I recommend, although you have to pay a minimal fee for it) using these parameters:

      auth => 'PLAIN', authid => 'user', # Change this. authpwd => 'password', # Change this. smtp => '',

      then it sends from my email address, which has already been registered on the service. I was sure it would work, but as we speak, no light is shining at the end of the tunnel :(



        Hi Steve,

        It's not for me to say whether the service is good/bad/ugly!

        However, a true MTA does a DNS domain look-up of the MX records for each email 'to/cc/bcc'. What you are showing is the method to connect to authsmtp's server and not how they handle your request.

          Are your requests to authsmtp's server failing?
        If that is failing, then the service may be overloaded, poor internet connection, etc. I'll send you a private msg with my email address. I think this is out-of-scope for PM, but I have some ideas on how to help you.

        Look for my msg and maybe we can get it working for you.


        "Well done is better than well said." - Benjamin Franklin

Re^4: Mail::Sender Problems.
by rpnoble419 (Pilgrim) on Aug 09, 2012 at 13:42 UTC

    As you are using a myfi router, your host may be blocking your ip address as it is a dynamic ip. When I travel in the US and use hotel ip addresses or my Verizon mifi I get blocked. I need to copy the task to my server inorder to send email.

    use this url to see if your ip address has been blocked.

Re^4: Mail::Sender Problems.
by Steve_BZ (Chaplain) on Aug 12, 2012 at 19:07 UTC

    Hi Guys,

    Well port => 587 seemed to do the trick.

    Thanks for all your help.

    Mail::Sender really is a nice little tool try it out if you haven't already.



Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986495]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2018-05-27 20:18 GMT
Find Nodes?
    Voting Booth?