in reply to Email::Send::SMTP::Gmail issue
Appears as though authentication is failing, which is resulting in -1 being placed into the $mail variable instead of the actual object.
Try putting this immediately after the attempted object instantiation:
die $error if $mail == -1;
|
|---|