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

Hi I would like to send huge emails with attachments (images). What is the best solution? Can I use MIME::Lite? Can it handle huge emails at the same time? Or is there any other better solutions? AdvTHANXance

Replies are listed 'Best First'.
Re: Sending huge emails with attachments
by marto (Cardinal) on Jul 17, 2006 at 08:38 UTC
    vi_srikanth,

    Did you read the documentation for MIME::Lite? The documentation gives example code for creating emails with image attachments, as well as explaining how the module works. Any restrictions on message size will be a configuration setting of the mail server you are using to send the email.

    Hope this helps.

    Martin

      Any restrictions on message size will be a configuration setting of the mail server you are using to send the email.

      ++ but don't forget the configuration of the mail server receiving the mail and the configuration of any mail servers in-between.

      -derby
Re: Sending huge emails with attachments
by vi_srikanth (Acolyte) on Jul 18, 2006 at 05:53 UTC

    Hi

    Thanks for your answers. Could you tell me what you wud recommend among the following for sending huge number of emails with attachments? Which one do you think will be more fast and reliable?
    1. MIME::Lite
    2. Mail::Sender
    3. Mail::Sendmail
    4. Net::SMTP

    And which mailserver would suit my need:
    1. sendmail
    2. postfix
    3. smtp

    If I have missed anything in the list kindly add.

    Currently I have planned to use MIME::Lite with "sendmail". Thats ok?

    Thanks
    Srikanth

Re: Sending huge emails with attachments
by madtoperl (Hermit) on Jul 17, 2006 at 08:46 UTC
    Hi vi_srikanth

    You can use Mail::Sender also for sending huge mails with attachment as image.I have already used the same for this.

    Thanks and Regards,
    madtoperl.

    20060717 Janitored by Corion: Corrected link to Mail::Sender