in reply to sorry, that domain isnt in my list of allowed rcpthosts

The problem is with the module used. MIME::Lite, as its name implies, is light-weight approach to sending MIME messages. As such, it does not have support for server authentication.

You need to go the full-blown MIME::Entity (Mimetools) route, and send it with either something like Mail::Internet (maybe) or Net::SMTP (definitely) that know about AUTH.

• another intruder with the mooring in the heart of the Perl

  • Comment on Re: sorry, that domain isnt in my list of allowed rcpthosts

Replies are listed 'Best First'.
Re^2: sorry, that domain isnt in my list of allowed rcpthosts
by samtregar (Abbot) on Jul 13, 2006 at 16:06 UTC
    You're probably right about the need to use a better sending module, but there's no reason you have to use MIME::Entity here. MIME::Lite can be used to build a message which is then passed-off to Net::SMTP (for example) for sending.

    -sam