in reply to MIME::Lite - Relay access denied

I agree you should talk to your mail admin.

However you could try to send it from sendmail instead of your smtp server. Basically just do $msg->send() with no params or "sendmail" followed by the path to sendmail.

Also if you continue with smtp, I'd check out the documentation regarding AuthUser and AuthPass. I don't see them documented anywhere in the documentation. It does say that it uses Net::SMTP so you might need to replace both AuthUser and AuthPass with "auth=>(username,password)" or however it works.

Update: As pointed out below AuthUser and AuthPass are included in the developer releases. You might want to upgrade to the official stable release instead of using something that is still under development (unless of course you like to be a beta tester).

Replies are listed 'Best First'.
Re^2: MIME::Lite - Relay access denied
by imp (Priest) on Jul 27, 2006 at 12:11 UTC
    I thought the same thing when I checked CPAN, but noticed the Latest Release link at the top of the page.

    Support for AuthUser and AuthPass starts in 3.01_03 (current is 3.01_05).

Re^2: MIME::Lite - Relay access denied
by Anonymous Monk on Apr 14, 2011 at 05:58 UTC
    I have got such problem when I changed the server with mail sending application. The same code, the same mail server, but on new PC it didn't work. My solution was to use $msg->send;