Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: MIME::Lite error: 4.3.1 Insufficient system storage

by Athanasius (Archbishop)
on Feb 05, 2018 at 07:27 UTC ( [id://1208463]=note: print w/replies, xml ) Need Help??


in reply to MIME::Lite error: 4.3.1 Insufficient system storage

Hello tel2,

... $msg->send or die "Error sending email!"; ...

See how the response doesn't include "Error sending email!".

That’s because the code dies before $msg->send returns. Specifically, it dies on lines 2895-7 of MIME/Lite.pm:

$smtp->mail( $args{From}, %opts ? \%opts : () ) or die "SMTP mail() command failed: $!\n" . $smtp->message . "\n";

Sorry, I don’t know the cause (or the fix). But before you persevere with this module, did you notice the disclaimer in the documentation?

WAIT!

MIME::Lite is not recommended by its current maintainer. There are a number of alternatives, like Email::MIME or MIME::Entity and Email::Sender, which you should probably use instead. MIME::Lite continues to accrue weird bug reports, and it is not receiving a large amount of refactoring due to the availability of better alternatives. Please consider using something else.

If I were you, I’d try with one (or more) of the alternative modules before putting more time into MIME::Lite.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: MIME::Lite error: 4.3.1 Insufficient system storage
by tel2 (Pilgrim) on Feb 05, 2018 at 10:00 UTC
    Thanks for that, Athanasius!  Well explained.

    I've been using MIME::Lite for years without problem, but only on a Linux server.  This is the first time I've used it on Windows.

    If this is a server problem (as an Anonymous Monk suggests), then can I expect similar problems with other mail modules?  I would have thought so.

    (My ISP (Vodafone NZ) is getting out of the email game, due to them not being able to handle spam quantities, and they probably aren't officially supporting email sending anymore, so maybe their server is a bit (or even a byte)...stuffed, due to lack of maintenance.  I don't need a long term solution for this though.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-23 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found