June 28, 2018 - 3:47pm, 2419 views
I have attatched these two files in order to get some clarity.
I am trying to send a mail, but allthough I get an OK, there is no result as an output or rather input to my e-mail server.
Just mee, br
For gmail, please change the
AT^SISS=0,smAuth, "0" to AT^SISS=0,smAuth, "1" (plain)Best regardsmAntero
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
Thank's for trying, but it did not help.The prblem is this, that all commands are accepted, right or wrong.I have so far been using my own java mail, ****** behind my tomcat.More help would be appreciated.Br
I can't see any log between SISO and SISC - is there any output?
In the SMTP example in AT commands specification there is "2" or "login" authentication used for gmail - please try.
Additionally Gmail may need some configuration to allow external applications to use it.
No, aparently, the touble is AT^SISS=0,address,"mail.nn.dk" +CME ERROR: invalid index
But it is this address i use in other location, java-mail
public static String host = "mail.nn.dk";
public static String host = "smtp.gmail.com";
both works fine in java
^SIS: 0,0,1000,"PARA-ERR: cmd must be set" What to here?
This means that you should set 'cmd' parameter of AT^SISS command.
What is the module type that uou are using (ATI1 command)?
Please see the SMTP example in the AT commands specification and 'cmd' parameter description for SMTP.
ShowingMail.txtATI1.txtoutput from interactive ****.txt
As You will see from the output, Gmail can open, and stay open, no handshake.
The Showing should just have the .txt saved and changed to .html
No hidden code there.
But my own mail account is running. And all that jazz about less secure should have been changed, for a long time ago. br.dk
Errata: new output ->
G-Mail Response Open -> 4G-Mail Loop = 60G-Mail Delay = 1000G-Mail Response Open -> 4G-Mail Remaining LOOP*s = 60G-Mail Loop = 60G-Mail Delay = 1000G-Mail Waiting to closeNotify RINGChanged -> falseNotify RINGChanged -> trueNotify RINGChanged -> falseNotify RINGChanged -> trueG-Mail Resonse close = 6G-Mail Remaining LOOP*s = 55Notify RINGChanged -> falseResponse -> AT^SISC=1OK
It seam to work now.
I have tried to do the same with my module.
I can see a few problems here.
One, the least important maybe, is that you configure user and password twice - in the address and with separate AT commands.
I wasn't able to send the email with SMTPS so I tried with SMTP. And this also failed with the following result:
^SIS: 4,0,4400,"Smtp open(mail.mee.dk:25)"
^SIS: 4,0,4400,"220 mail.mee.dk Microsoft ESMTP MAIL Service ready at Mon, 9 Jul 2018 13:24:16 +0200"
^SIS: 4,0,400,"SMTP-ERR: 501 5.5.4 Invalid domain name"
I think that this is a configuration problem on the server - please google the above error for more information.
I have tried with IP address instead of domain and then sending succeeded:
^SIS: 4,0,4400,"Smtp open(184.108.40.206:25)"
^SIS: 4,0,4400,"220 mail.mee.dk Microsoft ESMTP MAIL Service ready at Mon, 9 Jul 2018 14:21:45 +0200"
^SIS: 4,0,4400,"250-mail.mee.dk Hello [220.127.116.11]"
^SIS: 4,0,4400,"Warning: No authentication set!"
^SIS: 4,0,4400,"Mail send OK"
But still it is not working with SMTPS.
There is only:
^SIS: 4,0,4400,"Smtp open(18.104.22.168:465)"
And then nothing for a long time and in the end:
^SIS: 4,0,14,"An established connection was aborted, possibly due to a data transmission time-out or protocol error"
I think that maybe it would be good to test with some other server. Or use some other email client to test your server. This could be again the server problem.
Finally I was able to send mail with SMTPS using some other public email provider.
You are right reduscing setup.
So I made a new simple setup.
The G_mail should be saved as html.
The result is the output of the source code in G_mail.html
If You agree, You might upload it to Knowledge Base, in order to help other's
The negative about using G-mail, is the delay.
You can not use G-mail in a dynamic application, whereas my own private account, the response come in a split second.
In the old day's, the SMS could be several day'es to respond, but at that time I was using Nokia M2M named Nokia 12i. I still have it.
So as I understand the email is sent while using SMTPS and Gmail.. That would be a good news.
It is not that clear as your log does not print '^SIS:' URCs.
I think that this thread is the best place for the logs and source as here's the whole context.
© 2013-2022 THALES DIS AIS Deutschland GmbH