Rui Song Chong
Posts: 0
Joined: Sat Jan 17, 2015 10:51 am

SendGrid doesn't work on browser

Hi,

I've installed the SendGrid plugin with the necessary parameters but am unable to test it on browser and mobile app(i'm not able to get the message success/error). However when testing on SendGrid_MailSend service Test, im able to get the message "Sucess" and receive the mail.
When viewing on SendGrid, the mail type is delivered when tested on SendGrid_MailSend service Test, and mail type is open when tested using the mobile app, any idea what could be the problem?

Thanks

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

SendGrid doesn't work on browser

Rui,

Could you please clarify, have you built your app as it is shown in this tutorial?
http://blog.bismallion.com/sending-e-...

Rui Song Chong
Posts: 0
Joined: Sat Jan 17, 2015 10:51 am

SendGrid doesn't work on browser

Hi,

I am able to get it work on the service test, with the respond to be 'message: success', and delivered the email successfully. However when I try to do it on the appery tester, be it on browser or phone, it won't work. Email not delivered and no alerts shown when i click on the send button.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

SendGrid doesn't work on browser

Hello,

It will work only on device, because of CORS - you can't send cross-domain requests
Please find more in this doc http://devcenter.appery.io/documentat...

Rui Song Chong
Posts: 0
Joined: Sat Jan 17, 2015 10:51 am

SendGrid doesn't work on browser

Hi,

I tried it on my device, still no alerts appears when I click the send button. And when I look at my email activity on send grid, I realised that only the email I tested on the service test are successfully delivered, the ones I tried on my device, message type appear to be "open". Any idea what's the problem here?

Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

SendGrid doesn't work on browser

Hello,

1) Click test in project
2) Open console
3) Click test one more time
Now you will be able to see the errors in the console for you service.

Rui Song Chong
Posts: 0
Joined: Sat Jan 17, 2015 10:51 am

SendGrid doesn't work on browser

Hi,

I tried using the Test Service to send an email it works, but when testing on the browser/export project on device the mail doesn't deliver and no alerts will show whether it is delivered/error.

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

SendGrid doesn't work on browser

Hello Rui,

Sorry, could you please clarify, do you have any errors in a console according to the Alena's instructions?

Rui Song Chong
Posts: 0
Joined: Sat Jan 17, 2015 10:51 am

SendGrid doesn't work on browser

Hi,

I managed to solve it, turn out to be you have to untick "use appery.io Proxy" on the sendgrid service settings, and it should be working fine on your devices and test on browser. Hope it's useful for anyone that is looking for the solution to this.
Thanks!

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

SendGrid doesn't work on browser

Rui,

Thank you for the update, glad it works!

Return to “Issues”