Forum Replies Created
-
AuthorPosts
-
Hi ps2chiper,
probably It’s possible, I have an SMT32 and various ethernet shield, I start to try in next week.
Bye Renzo
Hi David,
there is a way to use Arduino code (and library) over Raspberry I think is suitable for Orange too.
But I think It’s better of you write your code in Python (you can find same code on forums) or NodeJS on linux environment.
Bye Renzo
It’s true, my response wasn’t exaustive, sorry, but I have only mobile device with me 😅.
STM32 have sufficient resources, but w5100 or lower device like enc28j60 (with small buffer) can’t use an SSL encription.
You can get that result with some specialized or more powerful ethernet device (but check price 🥶 and do some evaluations).
But also with this device you must do some additional work. For Adafruit ethernet device (second link) you probably do some change on library to preserve resources. Or for support PHPoC Shield you must change library like EmailSender 😉 to support device.
For example I recovered an Arduino MRK WiFi 1010 to add support in EMailSender library, because It use different WiFi library and I must do any change.
But if you find more/different/light implementation of ssl or information write here, we are going to check better together.
Bye Renzo
Hi ps2chiper,
I think, secure client, is not supported by the device, so It isn’t possibile to manage ssl/tsl encryption.
But I’m not sure, if I have some time I try to go in deep about that.
Bye Renzo
Hi matthias,
Any news? Have you found the solution?
Bye Renzo
Hi Matthias,
I’m moved :’) .
The last problem seems the antispam filter that block the content.
Subject: [SPAM?] Email Status TEST X-Spam-Flag: YES X-UI-Filterresults: junk:10;V03:K0:BwtejaETKmM=:nonYreUx2X
Try to send simple text message, or better send message to another email provider (and check spam).
But I think now the flow It’s ok.
Bye Renzo
Hi Bob,
I don’t know why but this topic was go on spam.
Please your your code here and I’m going to help you.
Bye Renzo
I think I fix the problem.
you can also try to disable isSASLLogin.
Give me a feedback.
Bye Renzo
Hi Matthias,
I have some problem with \0 (null char), I commit a version but I must check better.
Your version work?
Bye Renzo
Mmmm…
probably I don’t flush the buffer try now please.
Bye Renzo
Hi Matthias,
try this version on GitHub branch postfixEMailServer
to activate new features you must add this lines
emailSend.setEHLOCommand(true); emailSend.setSASLLogin(true);
give me a feedback.
Bye Renzo
Hi Matthias,
I check your server
reef@PORTATIREEF:/mnt/c/Users/renzo$ telnet smtp.ionos.de 25 Trying 213.165.67.97... Connected to smtp.ionos.de. Escape character is '^]'. 220 kundenserver.de (mreue010) Nemesis ESMTP Service ready EHLO 213.165.67.97 250-kundenserver.de Hello 213.165.67.97 [XX.X.XX.XX] 250-8BITMIME 250-AUTH LOGIN PLAIN 250-SIZE 140000000 250 STARTTLS
and It implement a SASL Authentication, so I must change the library to support this type of login. I read something and probably we must send a single line with login and passwd.
I’m going to try to do a trial version, I write here when ready to test.
Bye Renzo
Hi Matthias,
try to enter inside the library at line 354 change
String helo = "HELO "+String(publicIPDescriptor)+": ";
in
String helo = "EHLO "+String(publicIPDescriptor)+": ";
and give me feedback, if It’s work I do a parameter to manage this option.
Bye Renzo
Hi Ludophot,
I do the installation process only on Arduino IDE, I use Sloeber Eclipse and I have the same problem.
At this moment I write code with my sloeber and build with Arduino IDE.
The installation process can be very tedious on other IDE because they do not involve the use of another xtensa compiler and esptool.
But if i find some time I try to do.
Bye Renzo
Perfect!
In the future I try to integrate the process in my library, but now I’m happy that you had found the solution.
Bye RenzoI think I only add/change this part
WiFiSSLClient client; if (client.connectSSL(server, port)==1){
and all work.
-
AuthorPosts