{ "id": "171545", "key": "AC-5708", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2018-04-23T23:22:08.000+0000", "created": "2018-04-20T11:55:28.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-05-19T16:21:42.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14559", "name": "ArrowDB" } ], "description": "I have successfully setup the SMTP. Then I have called Cloud.Emails.send with valid recipient email address. API call also return below response:\r\n{\"success\":true,\"error\":false,\"meta\":{\"status\":\"ok\",\"code\":200,\"method_name\":\"emailFromTemplate\"}}\r\n\r\nBut I do not receive any email. I am testing in \"Development\" environment.\r\n", "attachment": [ { "id": "65075", "filename": "Screen Shot 2018-04-22 at 2.49.01 PM.png", "author": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-04-22T09:21:46.000+0000", "size": 142540, "mimeType": "image/png" } ], "flagged": false, "summary": "Cloud.Emails.send not sending emails", "creator": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "environment": null, "comment": { "comments": [ { "id": "437059", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~efrancis],\r\n\r\nThanks for sharing with us. Can you please share the screenshot of your dashboard which displays the issue?", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-04-22T08:31:50.000+0000", "updated": "2018-04-22T08:31:50.000+0000" }, { "id": "437060", "author": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I didn't get you what exactly you want me to share from the dashboard? I think the dashboard will have the API keys, I don't think its good idea to share the API keys here.\r\n\r\nI am sharing the log screenshot of logs\r\n !Screen Shot 2018-04-22 at 2.49.01 PM.png|thumbnail! \r\n\r\nI have a questions, is it required to have paid plan to test sending emails using email template and SMTP setup? Can I test emails while in Indie plan in development mode. I am asking this because when SMTP is setup I did receive an email with subject \"[AMPLIFY Platform] Mobile Backend Services SMTP Test\", but it does not work when calling Cloud.Emails.send\r\n", "updateAuthor": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-04-22T09:22:03.000+0000", "updated": "2018-04-22T09:24:43.000+0000" }, { "id": "437061", "author": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I tried with production API key too but it does not work.", "updateAuthor": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-04-22T13:34:20.000+0000", "updated": "2018-04-22T13:34:20.000+0000" }, { "id": "437063", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you please share your SMTP setup info? Make sure you checked the spam folder. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-04-22T22:59:55.000+0000", "updated": "2018-04-22T22:59:55.000+0000" }, { "id": "437065", "author": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Thanks for the reply.\r\n\r\nI am able to resolve the issue. It seems that Gmail was blocking emails. Initially, I setup SMTP by enabling \"less secure apps access your account\". Also allows access to security check prompts too. But wasn't receiving any emails.\r\nThen I have created App password and used it in SMTP. Now everything works fine. App password should be the correct way to use Gmail SMTP.\r\n\r\n\r\n", "updateAuthor": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-04-23T04:38:36.000+0000", "updated": "2018-04-23T04:38:36.000+0000" }, { "id": "437085", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Thanks for letting us know. Closing this.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-04-23T23:21:33.000+0000", "updated": "2018-04-23T23:21:33.000+0000" }, { "id": "437792", "author": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I am still struggling this to work perfectly. Google starts blocking Appcelerator to access SMTP. I have setup 2 step verification and also generated an app password. I have entered the app password successfully. It worked for some time and then again got blocked. Below is the email from google:\r\n\r\nGoogle just blocked someone from signing into your Google Account support@karpoolclub.com from an app that may put your account at risk.\r\nLess secure app\r\nSaturday, May 19, 2018 8:42 AM (PT)\r\nBoardman, OR, USA*\r\nDon't recognize this activity?\r\nIf you didn't recently receive an error while trying to access a Google service, like Gmail, from a non-Google application, someone may have your password.\r\n\r\nIs Appcelerator server is not accessing securely and does not support the latest security standards?", "updateAuthor": { "name": "efrancis", "key": "efrancis", "displayName": "Emmanuel Francis", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-05-19T16:21:42.000+0000", "updated": "2018-05-19T16:21:42.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }