Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

sendgrid attachment

Hello,

Please debug this code with WEINRE debugger.

Details are here: http://devcenter.appery.io/documentat...

Regards.

AC
Posts: 0
Joined: Wed Oct 08, 2014 8:53 pm

sendgrid attachment

hello, ken. I want to do the same thing that what u have done. But since I am a rookie so I dont understand ur instruction very clear. I already passed the photo to my image container and it will show when I load the send email page.
I followed the sendgrid email tutorial and set up everything I need. Now I can receive email including text in the email body and some text data followed by the email body text. Can u tell me what codes are needed from ur code in my case. Please advice.

Hi4All
Posts: 0
Joined: Sun Jan 11, 2015 2:25 pm

sendgrid attachment

I'm unable to sort out the issue, when I tested the APK through my android device it is not showing anything and not sending any email .. I don't know how to debug while I'm testing though my mobile.. :(

I hope somebody can help in this matter..

Hi4All
Posts: 0
Joined: Sun Jan 11, 2015 2:25 pm

sendgrid attachment

I'm able now to get the error through debugger,
processMessage failed: Error: TypeError: Cannot read property 'length' of undefined
processMessage failed: Stack: TypeError: Cannot read property 'length' of undefined
at file:///android_asset/www/Login.js:308:54
at Object.cordova.callbackFromNative (file:///android_asset/www/files/resources/lib/cordova.js:294:48)
at processMessage (file:///android_asset/www/files/resources/lib/cordova.js:1053:21)
at androidExec.processMessages (file:///android_asset/www/files/resources/lib/cordova.js:1090:13)
at instrumentedCode (http://debug.appery.io/target/target-...)
processMessage failed: Message: F07 PushNotification1136157459 sInvalid action

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

sendgrid attachment

Hello,

Not sure what could produce this error.

But you can check it with following js code:

pre

console.log("binary is = ");
console.log(binary);
console.log("binary.length = " + binary.length);

/pre

Then you see logs in your weinre debugger.

Regards.

Hi4All
Posts: 0
Joined: Sun Jan 11, 2015 2:25 pm

sendgrid attachment

Even I removed the blob from formdata, still it is not sending. but I get the status as
Status Code:400 Bad Request400 Bad Request

And the response,

CF-RAY:1a903e26fb2e09f4-ICN
Connection:Keep-Alive
Content-Type:application/json
Date:Thu, 15 Jan 2015 07
Server:cloudflare-nginx
Set-Cookie:__cfduid=d8855a1a58dfd46935d4dc856c11e70591421305713; expires=Fri, 15-Jan-16 07
Transfer-Encoding:chunked

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

sendgrid attachment

Hello Hi4All,

Could you please kindly clarify, have you followed the instructions from this tutorial
http://blog.bismallion.com/sending-em... ?

Hi4All
Posts: 0
Joined: Sun Jan 11, 2015 2:25 pm

sendgrid attachment

I started over again and implement the same mentioned in different page http://blog.bismallion.com/sending-em...

When I debug, now I'm getting the following error,
TypeError: Illegal constructor

I don't know how to get this done, I can share my project with anybody from the support team..

Thank you

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

sendgrid attachment

Hello Hi4All,

Yes you can share (http://devcenter.appery.io/documentat...) your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and please send us the app name.

AC
Posts: 0
Joined: Wed Oct 08, 2014 8:53 pm

sendgrid attachment

this is a very very good post. I worked it by using this code. Thx for all!

Return to “Issues”