Yes, you should know if there's attachment, because if there's no attachment you should create only one MIME::Lite object (multipart/alternative message) and there's no need to create $message at all.
In reply to Re^3: MIME::Lite and Multipart
by zwon
in thread MIME::Lite and Multipart
by Analog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |