Closed LTIOfficial closed 11 years ago
Email body revision:
<h3>Hello [%username],</h3>
<p>Please join us at Linguistic Team International as we work together 'translating to change the world'.<br />
Visit our PMS below to gain access to all of the materials within our care.</p>
<p><a href=3D"http://pms.linguisticteam.org" target=3D"_blank">http://pms.linguisticteam.org</a></p>
<p>Your username is: <em>vixi@teamling.com</em><br />
Your password is: <em>lti</em></p>
<p>It is strongly recommended that you change this temporary password, and then log out and back in with your new password before doing anything else. Then complete your profile so we can get to know you better. If you have not already done so, be sure to introduce yourself to the rest of the folks in the <a href=3D"http://forum.linguisticteam.org/board217-help-desk/board252-introduce-yourself/" target=3D"_blank">Introduce Yourself</a> board. Then take some time to explore the Forum and have fun getting to know the rest of the LTI Community. </p>
<br />
<p>Welcome to Linguistic Team International.</p>
I tried to use smtp.googlemail.com to send emails. Apparently it worked well in the beginning. Now I'm trying to send emails using the own server, so we have to check if it will work.
If not, please, reopen the issue.
When attempting to use the Invite function, the app opens up the email in a separate tab instead of sending. The headers reveal a misconfiguration with the email function itself.
Failed to authenticate password. Error: 535-5.7.1 Please log in with your web browser and then try again. Learn more at 535 5.7.1 https://support.google.com/mail/bin/answer.py?answer=78754 c4sm18099192obo.9 - gsmtp from: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 c4sm18099192obo.9 - gsmtp The following SMTP error was encountered: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 c4sm18099192obo.9 - gsmtp to: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 c4sm18099192obo.9 - gsmtp The following SMTP error was encountered: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 c4sm18099192obo.9 - gsmtp data: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 c4sm18099192obo.9 - gsmtp The following SMTP error was encountered: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 c4sm18099192obo.9 - gsmtp 502 5.5.1 Unrecognized command. c4sm18099192obo.9 - gsmtp The following SMTP error was encountered: 502 5.5.1 Unrecognized command. c4sm18099192obo.9 - gsmtp Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
Additionally, the email invite also contains some issues that need cleaning. For example, it is providing a strange Subject line as follows: Subject: =?utf-8?Q?LTI_-_Invitation?=
It also seems to be ignoring some of the html within the body of the message, causing the removal of line breaks & the spaces between some, but not all, of the sentences.
Hello Ray,You have been invited to join us at Linguistic Team International as we work together 'translating to change the world'.Please, go to our PMS to have access to all our material.http://pms.linguisticteam.orgYour username is: gman.zm@gmail.com Your password is: ltiWe strongly recommend you change the password FIRST. Then complete your profile so we can get to know you better. Be sure to introduce yourself to the Team in the Thread under Help Desk. Then have fun as you explore the Forum and locate your Language Team Coordinator. Welcome to the Linguistic Team International.
I notice a missing < /p > tag at the end of the opening salutation (< p >Hello Ray,[MISSING < /p > TAG]< br / >< br / >< p >You have been invited to ...) which may explain & fix this issue. There are also three reversed < p/ > tags near the end that need fixing. I'll rebuild the message and post the results in a later comment to this issue thread. Below is how it is now: