My company uses Gmail as it's mail client. I tried setting it up with my company issue email account information and it is not working. Can I get some guidance on this?
I am setting this up using the custom SMTP server option, using myaddress@company.com
SMTP Server setting:
smtp.gmail.com
465
SSL
myaddress@company.com
password
I get a SMTP Error: Could not authenticate error. Is there a setting on IIS that maybe stopping this?
- Log in to post comments
Have you tried using TLS instead of SSL?
Regards,
Michał
I get a "Language string failed to load: tls" Error
Do I need to setup TLS somewhere. I am trying to configure SMTP with PHP...
" My setup is IIS 7.0 / PHP / MySQL on windows 2008 server
It looks like a problem with PHPMailer, see http://stackoverflow.com/questions/13922250/phpmailer-live-com-and-errorlanguage-string-failed-to-load-tls.
Regards,
Michał
I am not using PHPMailer. Am I suppose to use PHPMailer for Windows? I have setup SMTP for IIS 7 and not sure how to test it.
You misunderstood me - WebIssues uses PHPMailer to send emails. Looks like there is a bug in the current version which causes this error.
Regards,
Michał
What do you suggest I do?
I was able to successfully get the email setup in WebIssues to work. Now, I need to verify the Task Scheduler settings. Is there steps for the Windows setup? I have this setup but may be messing up on the trigger. I am pointing to the job.php file location. Not clear if I need to also do the path to the php.exe file.
"Enter php.exe (with appropriate path) as the program, cron/job.php as the argument and the location where the WebIssues Server is installed as the start directory."
Regards,
Michał
Michal
Thx. I adjusted the environ variables in my PATH and the line reads: php (\job.php). So that is working. So this is setup correctly. I was still having problems so I ran the job.php manually from the cron directory and say SMTP: Can not authenticate error.
** Note that the Email SMTP Settings from within WebIssues is working.
Here is the error when I run the against the cron directory:
D:\sites\track\cron>php job.php
Unhandled phpmailerException: SMTP Error: Could not authenticate. in D:\sites\tr
ack\system\mail\class.phpmailer.php on line 872
Stack trace:
#0 D:\sites\track\system\mail\class.phpmailer.php(763): PHPMailer->SmtpConnect()
#1 D:\sites\track\system\mail\class.phpmailer.php(630): PHPMailer->SmtpSend('Dat
e: Thu, 22 A...', '...')
#2 D:\sites\track\system\mail\class.phpmailer.php(575): PHPMailer->PostSend()
#3 D:\sites\track\system\mail\engine.inc.php(129): PHPMailer->Send()
#4 D:\sites\track\cron\job.php(162): System_Mail_Engine->send('emailchanged@###..
.', 'Administrator', 'Test Project - ...', '...')
#5 D:\sites\track\cron\job.php(72): Cron_Job->sendNotificationEmails()
#6 D:\sites\track\system\core\application.inc.php(210): Cron_Job->execute()
#7 D:\sites\track\system\bootstrap.inc.php(127): System_Core_Application->run()
#8 D:\sites\track\cron\job.php(614): System_Bootstrap::run('Cron_Job')
#9 {main}
An unexpected error occured while executing the command.