Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Send email error

by padawan_linuxero (Scribe)
on Oct 16, 2007 at 16:11 UTC ( [id://645210]=perlquestion: print w/replies, xml ) Need Help??

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

Replies are listed 'Best First'.
Re: Send email error
by perlfan (Parson) on Oct 16, 2007 at 16:18 UTC
    That sounds like your smtp server is not allowing you to relay mail with out authenticating with it - is this just for gmail/hotmail, or for all email addresses? (my guess is the latter)
      Yes you are right to any email "inside" sis.at.com I can send email
      but if I try to send it to an external email
      like padawanlinuxero@gmail.com is giving me the same error message
      how can I fix this problem can you help me?
      Thanks

        If your SMTP server requires authentication to send to outside hosts then you can't using Mail::Sendmail. If you read the documentation (the section entitled LIMITATIONS) it specifically says it doesn't support SMTP auth. Switch to another mail sending module which does support authentication, or bribe and/or coerce your mail admin into letting the source box in question send mail to outside hosts without authentication.

        How do you normally send email from that host?

        If it's a linux box, it probably has sendmail locally. That's the SMTP server you'd use.

        If it's Windows you'd probably use a remote SMTP server to relay your traffic. Check the config of a working email client and you'll probably see how it's handled in your environment.

Re: Send email error
by jdporter (Paladin) on Oct 16, 2007 at 16:15 UTC

    That error is coming from your smtp host, sis.at.com. I guess you need to find a smtp host who will allow you to send mail through them.

Re: Send email error
by dwm042 (Priest) on Oct 16, 2007 at 18:28 UTC
    My suggestion is as follows:

    From a command prompt, (unix or Win32) type:
    telnet sis.at.com 25

    you may have to use port 587, YMMV.
    When it replies, type:
    EHLO

    Then note what kinds of authentication the relay supports. Then type:
    QUIT

    Of course, you could just call support at at.com and ask them. That should work as well.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2026-04-20 13:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.