in reply to MIME::Lite

For sendmail to work, you need at least sendmail -t as $mail_programm.

$smtp_address is empty in your snippet, so I can't tell what's going wrong there...maybe a part of your code is missing?

regards,
tomte


Hlade's Law:

If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.

Replies are listed 'Best First'.
Re: Re: MIME::Lite
by Anonymous Monk on Apr 08, 2003 at 16:16 UTC
    Hi, Adding -t to $mail_program didn't help, I have also supplied a value for $smtp_address and $smtp_timeout and it didn't make a difference. Obviously this part is being bypassed though due to the if/else statement. Is their anyway to supply a username/password using MIME::Lite? I thought this was necessary when using SMTP!? I could leave the sendmail temporarily and try to get smtp working. Thanks, Neil