Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
There's more than one way to do things
 
PerlMonks  

Re^3: Mail::Sender Problems.

by Steve_BZ (Hermit)
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.

Regrads

Steve


Comment on Re^3: Mail::Sender Problems.
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. http://postmaster.rr.com/amIBlockedByRR

Re^4: Mail::Sender Problems.
by flexvault (Vicar) on Aug 09, 2012 at 13:55 UTC

    Steve_BZ,

    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 => 'mail.authsmtp.com',

      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 :(

      Regards

      Steve

        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.

        Regards...Ed

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

Re^4: Mail::Sender Problems.
by Steve_BZ (Hermit) 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.

    Regards

    Steve.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986495]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-04-19 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (478 votes), past polls