[AC-936] Ti cloud Reset Password - user does not receive email
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Not Our Bug |
Resolution Date | 2016-01-07T05:35:25.000+0000 |
Affected Version/s | Appcelerator Studio 4.3.0 |
Fix Version/s | n/a |
Components | Studio, Titanium SDK & CLI |
Labels | n/a |
Reporter | Mick |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-12-24T06:23:58.000+0000 |
Updated | 2016-03-08T07:37:15.000+0000 |
Description
When using the resetpassword function in ti.cloud, the user is not receiving the email.
When I make changes to my smtp settings in appcelerator platform, it does send a confirmation email.
I tried adding the "from" field in the code as was suggested as a fix on the q&a forum, but still the user is not receiving an email.
I have confirmed that cloud is trying to send the email, see attached screenshot.
Attachments
Hello according to your code provide the from address as "hello@shabu.com". Try like the below code
You first need to build a form with a textfield in your interface. This form will then feed a value into your resetPassword function - eg 'email.value' above would be from such a textfield. So it will send the reset password request to the email address you enter. And this of course should be the email address for an existing account. More info on [here](https://developer.appcelerator.com/question/178398/titanium-cloud-email-reset-password-not-working). Thanks.
Hi, the hello@shabu.co email is the email address that the email is being sent from (the address in my smtp settings on ACS). The eMail parameter is the email address passed to the function from the textfield so I have set this up correctly. in the attachment I have used another of my own email accounts to send the mail to, however this email is not being received.
just another update to show the log from ACS that the email is being sent: (I do have a template setup called "csv" ) Dec 29, 2015 11:15 PM Request POST /v1/custom_mailer/email_from_template.json Status 200 Source IP 124.191.230.215 Parameters { "suppress_response_codes": "true", "recipients": micksolo@gmail.com, "template": "csv", "from": "hello@shabu.co", "key": "qyaNPmLEauV3G5bGctqXAwpN4CYBJtiA", "_session_id": "bmHtcWMAQ-CCrb-ZttCT_LIE-X0" } /v1/custom_mailer/email_from_template.json?&suppress_response_codes=true&recipients=t950154@testing.fastmail.fm&template=csv&from=Mick&key=qyaNPmLEauV3G5bGctqXAwpN4CYBJtiA&_session_id=bmHtcWMAQ-CCrb-ZttCT_LIE-X0
I have resolved this issue with some help from my mail provider and working out that when I click "save changes" on the smtp setup screen on ACS, for some reason my password was being changed (probably to my appcelerator password). The SMTP fix was to change the port to 587 and now my users are receiving emails sent from Ti.cloud.