Bugzilla:Windows Gmail: Difference between revisions

Bugzilla supports Gmail natively, no need to confuse people with hacks
No edit summary
(Bugzilla supports Gmail natively, no need to confuse people with hacks)
Line 1: Line 1:
Unfortunately, the solution at http://www.dawood.in/bugzilla_alerts_using_gmail.html
Bugzilla 4.4 and newer support Gmail as SMTP server natively, without any need to hack the source code. When running checksetup.pl, make sure that Net::SMTP::SSL is installed:
does not help Windows users. A Perl class that Email::Send::SMTP::TLS is dependent on is  
REQUIRED to be compiled with the same compiler used to compile Perl. If you are running
windows, chances are you have ActivePerl or StrawberryPerl installed, both of which are binary
installers, and don't need to be compiled. Thus Email::Send::SMTP::TLS will never function.


To configure Bugzilla to send mail through Gmail's smtp server:
  Checking for         Net-SMTP-SSL (v1.01)    ok: found v1.01
#Download Glob's sendmail wrapper for windows at http://glob.com.au/sendmail/,<br>and unzip
 
#copy sendmail.exe and sendmail.ini to \usr\lib on the drive where<br>Bugzilla is installed. So if Bugzilla is installed at C:\Bugzilla,<br>create a 'usr' folder at the root level of the C: drive,<br>with a 'lib' folder within that.
Then edit the following parameters (under Administration > Parameters > Email):
#open up sendmail.ini.
 
#within sendmail.ini copy and paste these values on the appropriate lines:
mail_delivery_method = SMTP
#*smtp_server=smtp.gmail.com:587
mailfrom = your_email_address@gmail.com
#*smtp_ssl=tls
smtpserver = smtp.gmail.com:465
#*auth_username=<INSERT GMAIL USERNAME HERE>
smtp_username = your_email_address@gmail.com
#*auth_password=<INSERT GMAIL PASSWORD HERE>
smtp_password = your_gmail_password
#*if your gmail server runs on a specific domain, make sure to<br>uncomment and fill in the default_domain parameter.
smtp_ssl = on
#now go to the Administration tab on your Bugzilla homepage, and select Parameters
 
#Choose Email from the sidebar on the left.
Do not forget to save your changes. And that's all, Bugzilla can now use your Gmail account to send email notifications.
#In the pulldown menu under mail_delivery_method, select Sendmail.
 
#You're done! Bugzilla will send email through gmail's smtp server.
If you are running Bugzilla 4.2 or older, then you should apply [https://bug466419.bugzilla.mozilla.org/attachment.cgi?id=552569 this patch]. Once applied, you can follow the steps above.
Confirmed users
683

edits