SOLVED: Send EMAIL using SIM-5320 (3G) HELP please!


solved - see last reply
trying use current model simcom 5320 modem end email...
sooo close, no prize - yet.s

unfortunately, it's bit different sim900, implements newer version of @ command set.

is there here can help, or has experience in i'm missing?
should revert 'old' @ email commands - or become extinct within lifetime!?

power on - first attempt
quote
at+cgatt=1 ok
at+cgdcont=1, "ip", "internet", "0.0.0.0"
at+cgact=1, 1 ok
at+cgpaddr=1 >> +cgpaddr: 1,"10.146.53.134"  <<==  assigned ip address
at+csmtpssrv="smtp.optusnet.com.au", 465, 2
at+csmtpsauth=0
at+csmtpsfrom="a_user@gmail.com"
at+csmtpsrcpt=0,0,"b_user@gmail.com", "controller report"
at+csmtpssub=17
   controller report
at+csmtpsbody=62
   internode test
   test message body
   on multiple lines
   we 22:50
ok
>
+csmtpssend: 8  <<== network error
immediately after - make second attempt
quote
at+cgatt=1 ok
at+cgdcont=1, "ip", "internet", "0.0.0.0"
at+cgact=1, 1 ok
at+cgpaddr=1 >> +cgpaddr: 1,"0.0.0.0"  <<==  ip address has gone ??!
at+csmtpssrv="smtp.optusnet.com.au", 465, 2
at+csmtpsauth=0
at+csmtpsfrom="a_user@gmail.com"
at+csmtpsrcpt=0,0,"b_user@gmail.com", "controller report"
at+csmtpssub=17
   controlmate report
at+csmtpsbody=62
   internode test
   test message body
   on multiple lines
   we 22:53
+csmtpssend: 255  <<== unknown error
>
note ip address has gone on second attempt!
i didn't drop connection
i tried optus , gmail servers - same result

finally power cycle - third attempt - result identical first
which makes me think modem receiving commands - , getting 'a mode' won't accept 'send' until previous 1 sent, or modem power cycled (clearing operational states)

http://www.edaboard.com/thread125473.html seems suggest we're doing right stuff...
the lost ip address may occur because i'm establishing connection 'again' - don't think so.

i have 3g module in post can't yet maybe once arrives can collaborate. did buy sim5216 because there appears lot more @ command manuals related http access. i'm not sure difference 2 modules though. sim800-900 had similar @ commands, luck 5216 , 5320 similar too. have tried using sim5216 @ command manual?

i can't remember why, there reason couldn't use sim900 modules gmail account. think port access on googles end not allowing type of connection gsm module makes. not sure if sim5320 has way around that


Arduino Forum > Products > Arduino GSM Shield (Moderator: fabioc84) > SOLVED: Send EMAIL using SIM-5320 (3G) HELP please!


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'