Configuring Bugzilla to use Gmail for Mail Delivery

​The mail delivery method for your Bugzilla installation can be configured to send mails out using Gmail

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. ​

Popular posts from this blog

Shrink you container size up to 95%.

alma linux: dnf Module yaml error: Unexpected key in data