Install Perl module for Gmail
$ sudo /usr/bin/perl -MCPAN -e 'install "Email::Send::Gmail"'
Once this module has been installed, logout from Bugzilla and login with your administrator password.
You should see "Gmail" as one of the drop down options in the "mail_delivery_method" in the Email administration page for Bugzilla.
Set the following parameters.
smtpserver : smtp.gmail.com
mailfrom : username@gmail.com
smtp_username : username@gmail.com
smtp_password : password
Save these changes.
Changes to Mailer.pm
$ sudo gedit /var/www/bugzilla/Bugzilla/Mailer.pm
Change the following line
if ($method eq "SMTP") {
to
if (($method eq "SMTP") || ($method eq "Gmail")) {
Now your emails from Bugzilla are configured to be delivered via the Gmail account that you setup.
When i file a new bug with this setting i get the following error
ReplyDeleteSoftware error:
Email::Send::Gmail: error authenticating username myusername@my_google_domain.com at /usr/share/perl5/Email/Send.pm line 252
For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error.
Same error for me too
DeleteMake sure that you install "sendmail" and then edit the "Mailer.pm" as per the above instructions.
ReplyDeleteAlso, use an already created genuine account with gmail for setup in bugzilla email settings mentioned above.
Before any email marketing campaign is sent out entirely it is highly recommended that companies test their mailers. This not only allows marketers to identify any problem areas, it can also help them establish which subject lines, content or even colour schemes will be more likely to yield the desired results.
ReplyDeleteemail testing
Works very well, thank you.
ReplyDeleteDon't forget to specify valid gmail address (the same as used for SMTP auth) at "mailfrom"
Hey! I liked your article! it was something new! And now I would surely follow your advice! I think your blog is really informative and creative!
ReplyDeletemore info:- Gmail Help
Tried the settings as suggested.. But it dint work. Any firewall settings needs to be changed for this??
ReplyDeleteOn my first try, google gave me a notification of an unauthorized device access, I OK'd it,
ReplyDeletebut it still refuses to send
I keep getting this error
Email::Send::Gmail: error authenticating username xyz@gmail.com at /usr/share/perl5/Email/Send.pm line 252
For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error.
any idea.. would be greatly appreciated.
mailer.pm location could not find please tell me ????
ReplyDeleteSelect Enable and remember to save your settings usually a button on the bottom of any editing screen. The final way to sign in to multiple Gmail accounts, called Multiple Sign-in, is a newer feature of Gmail. gmail support services
ReplyDeletemail::Send::Gmail: error connecting to server smtp.gmail.com at lib/Email/Send.pm line 256
ReplyDeleteI am getting this error.
Mail Warm stands out as a powerful tool to ensure that your messages not only reach your audience but also resonate with them. So, warm up those inboxes and watch yourWarm up inbox
ReplyDelete