Forum Replies Created

Viewing 15 posts - 871 through 885 (of 1,020 total)
  • Author
    Posts
  • Renzo Mischianti
    Keymaster

      Hi Gilles,

      you can’t use GMail or Orange with Arduino Ethernet because It not support secure connection.

      SendGrid is not so simple to configure in this long topic we cover all configuration step of the service.

      Using EMail Sender library with Arduino UNO Ethernet shield with Ethernet.h library

      Bye Renzo

      Renzo Mischianti
      Keymaster

        Ahh wait.. I use an esp8266, Arduino Mega can’t work with this service, because It need SSL/TSL encoding.

         

        You must use a service like sendgrid 

        Reply To: Weather radio station with Arduino UNO/MEGA Ethernet problem with EMailSender

        Or you must change device, you can get an Arduino SAMD like here

        Send email with attachments: Arduino SAMD boards (WiFiNINA) – 3

        check here, I explain witch service you can use.

        Send email with attachments (v2.x library): Arduino Ethernet – 1

        Bye Renzo

        Renzo Mischianti
        Keymaster

          Hi Gilles,
          I check and try, I think the problem is the from IP.

          If I try to send with GMail verso Orange It work correctly, but if i try from Orange to Orange It go to SPAM

          
          
          X-me-spamcause : (125)(1000)gggruggvucftvghtrhhoucdtuddrgeduledrleekgdeijecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfogfdpggftiffpkfdpqfgfvfdpffgvsghughdqvfhmphfhihhlvgenuceurghilhhouhhtmecugedttdenucfjvggruggvrhcuvghrrhhorhculdehtddmnefpohcuuggrthgvuchfihgvlhguucdlgeelmdenogfqfgfvqdetgedtkedqtddvqdhtvghrucdluddmnegotffhvedqqdfjughrqdfuuhhsphgvtghtqdhlohifucdlhedmnegotffhvedqqdfjughrqdfuuhhsphgvtghtucdlvddtmdenucfjughrpefhvffugggttgfgsehtjedtredttdejnecuhfhrohhmpeeorhgvnhiiohdrmhhishgthhhirghnthhisehorhgrnhhgvgdrfhhrqeenucggtffrrghtthgvrhhnpeekvdegffeuieekhfdvueeitdetvedugfejveeivddvledvvedtgffgvdefhfelleenucfkphepvdduvddrvdduiedrvdduuddrudekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehmihhstghhihgrnhhtihempdhinhgvthepvdduvddrvdduiedrvdduuddrudekvddpmhgrihhlfhhrohhmpehrvghniihordhmihhstghhihgrnhhtihesohhrrghnghgvrdhfrhdprhgtphhtthhopehrvghniihordhmihhstghhihgrnhhtihesghhmrghilhdrtghomhdprhgtphhtthhopehrvghniihordhmihhstghhihgrnhhtihesohhrrghnghgvrd
          
          

           

          with error 125 (that it is greater than 100) at this link say that error > 100

          There is an additional header called “X-ME-spam cause”. If the value in this first bracket is higher than 100, then Vade Secure has flagged your mail as spam.

          And in the detail of message

          Received : from opme11dod06nd1.rouen.francetelecom.fr ([10.79.5.102]) by opme11dob14nd1.rouen.francetelecom.fr with LMTP id MNDOK8P9PGDoWwAASTXmBw ; Mon, 01 Mar 2021 15:44:19 +0100,from opme11ppr01nd1.rouen.francetelecom.fr ([10.79.5.102]) by opme11dod06nd1.rouen.francetelecom.fr with LMTP id iIG2K8P9PGD+RQAAhj82FQ ; Mon, 01 Mar 2021 15:44:19 +0100,from mwinf5d03 ([10.79.5.102]) by opme11ppr01nd1.rouen.francetelecom.fr with LMTP id eOj5DsP9PGAYHAAAKPHnNg (envelope-from <renzo.mischianti@orange.fr>) for <renzo.mischianti@orange.fr>; Mon, 01 Mar 2021 15:44:19 +0100,from mischianti: ([212.216.211.182]) by mwinf5d03 with ME id b2kC2400L3wge1w032kDW4; Mon, 01 Mar 2021 15:44:19 +0100
          

          And you can check https://www.spamhaus.org/query/ip/212.216.211.182 that the FROM IP is market as spam.

          So the result is that orange.fr with his service Vade Secure block orange.fr SMTP emails. You can try to write to your company to fix this wrong categorization.

          Bye Renzo

          Renzo Mischianti
          Keymaster

            Hi helaino,
            sorry but I don’t understand, can you explain better with a code example.
            Thanks Renzo

            in reply to: Problem loop stop after my send email function #10229
            Renzo Mischianti
            Keymaster

              Hi Gilles,
              It’s an unexpected behavior the use of an array of 0 lenght, I must look the code to check what happens in that situation.
              Bye Renzo

              Renzo Mischianti
              Keymaster

                Hi Gilles,
                if you can do a mail for me I try this or tomorrow evening to do the change.
                Send me the password to info@mischianti.org .
                Bye Renzo

                in reply to: Problem loop stop after my send email function #10122
                Renzo Mischianti
                Keymaster

                  Hi Gilles,
                  only for confirmation, you use an Arduino Mega and a w5100 shield, and can you tell me the size of the file you want send?
                  Bye Renzo

                  Renzo Mischianti
                  Keymaster

                    Hi max7777,
                    I try the code with my WeMos D1 mini, and It’s work correctly.
                    You had follow the tutorial to enable less secure app or application passwd?

                    Send email with attachments (EMailSender v2.x library): esp32 and esp8266 – 2

                    Bye Renzo

                    in reply to: port 587 with ssl ANS TLS not working #10111
                    Renzo Mischianti
                    Keymaster

                      Hi mjorrens,
                      Yes, that device is fantastic, I’ve used also esp8266 and esp32, but MKR WiFi 1010 is very powerful.

                      You can refer this article
                      Send email with attachments: Arduino SAMD boards (WiFiNINA) – 3

                      But Arduini UNO work with sendgrid if you need.

                      Bye Renzo

                      in reply to: port 587 with ssl ANS TLS not working #10109
                      Renzo Mischianti
                      Keymaster

                        Hi majorrens,
                        GMail and other services that need TSL can’t work with Arduino UNO or Mega, you must use not encrypted service like sendgrid, refer to the article

                        Send email with attachments (v2.x library): Arduino Ethernet – 1

                        Bye Renzo

                        in reply to: E90-DTU (400SL22P) #10089
                        Renzo Mischianti
                        Keymaster

                          Hi Ludopot,
                          finally i receive the response about compatibility.

                          Hi Renzo,

                          Sorry for the late reply because we just get back to work.

                          For your questions:
                          I need information, do the transmitters “E90-DTU (400SL22P)” and “E22-400T22D” communicate with each other? Can I use these devices to send and receive data?
                          Answer is Yes. E90-DTU (400SL22P) can tranceive data with E22-400T22D.

                          Is There a table of compatibility devices?

                          For your reference:
                          1.E90-DTU+ L+xxx use E32 modules inside. so E90-DTU+L can work E32-T modules if their frequency is same(433/915).
                          2.E90-DTU+ SL+xxx use E22 modules inside. so E90-DTU+SL can work E22-T modules if their frequency is same(433/915).

                          Best Regards,

                          in reply to: fix transmition #10056
                          Renzo Mischianti
                          Keymaster

                            Hehehehehe.. I’m sorry for you, but It’s better for me.
                            Bye Renzo

                            Renzo Mischianti
                            Keymaster

                              Perfect Tans,
                              I’m glad you found the problem.
                              Bye Renzo

                              Renzo Mischianti
                              Keymaster

                                Hi Tans,
                                you code not use WiFiManager, to use It you must do something like this

                                
                                
                                /*
                                 * EMailSender library for Arduino, esp8266 and esp32
                                 * Simple esp8266 Gmail with Email From name send example
                                 *
                                 * http://mischianti.org/category/my-libraries/emailsender-send-email-with-attachments/
                                 *
                                 */
                                
                                #include "Arduino.h"
                                #include 
                                #include 
                                #include  // https://github.com/tzapu/WiFiManager
                                
                                const char *smtp_server = "smtp.gmail.com";
                                uint16_t smtp_port = 465;
                                const char *email_login = "@gmail.com";
                                const char *email_password = "";
                                const char *email_from = "@gmail.com";
                                const char *email_to = "@gmail.com";
                                const char *email_subject =
                                		"Device {{DEVICE_AP}}/{{DEVICE_LOCATION}} alerts water alarm!";
                                
                                WiFiManager wifiManager;
                                
                                EMailSender emailSend(email_login, email_password, email_from, smtp_server,
                                		smtp_port);
                                
                                
                                void configModeCallback (WiFiManager *myWiFiManager) {
                                  Serial.println("Entered config mode");
                                  Serial.println(WiFi.softAPIP());
                                  //if you used auto generated SSID, print it
                                  Serial.println(myWiFiManager->getConfigPortalSSID());
                                }
                                
                                void setup() {
                                	Serial.begin(115200);
                                
                                	  //WiFiManager
                                	  //Local intialization. Once its business is done, there is no need to keep it around
                                	  WiFiManager wifiManager;
                                	  //reset settings - for testing
                                //	  wifiManager.resetSettings();
                                
                                	  //set callback that gets called when connecting to previous WiFi fails, and enters Access Point mode
                                	  wifiManager.setAPCallback(configModeCallback);
                                
                                	  //fetches ssid and pass and tries to connect
                                	  //if it does not connect it starts an access point with the specified name
                                	  //here  "AutoConnectAP"
                                	  //and goes into a blocking loop awaiting configuration
                                	  if(!wifiManager.autoConnect("esp8266 mischiantis test")) {
                                	    Serial.println("failed to connect and hit timeout");
                                	    //reset and try again, or maybe put it to deep sleep
                                	    ESP.reset();
                                	    delay(1000);
                                	  }
                                
                                	  //if you get here you have connected to the WiFi
                                	  Serial.println(F("WIFIManager connected!"));
                                
                                	  Serial.print(F("IP --> "));
                                	  Serial.println(WiFi.localIP());
                                	  Serial.print(F("GW --> "));
                                	  Serial.println(WiFi.gatewayIP());
                                	  Serial.print(F("SM --> "));
                                	  Serial.println(WiFi.subnetMask());
                                
                                	  Serial.print(F("DNS 1 --> "));
                                	  Serial.println(WiFi.dnsIP(0));
                                
                                	  Serial.print(F("DNS 2 --> "));
                                	  Serial.println(WiFi.dnsIP(1));
                                
                                	EMailSender::EMailMessage message;
                                	message.subject = "Soggetto";
                                	message.message = "Ciao come stai
                                io bene.
                                www.mischianti.org"; EMailSender::Response resp = emailSend.send(email_to, message); Serial.println("Sending status: "); Serial.println(resp.status); Serial.println(resp.code); Serial.println(resp.desc); } void loop() { }

                                For additional detail you can check this guide

                                How to manage dynamic WIFI configuration on esp8266 or esp32

                                Bye Renzo

                                in reply to: E90-DTU (400SL22P) #10000
                                Renzo Mischianti
                                Keymaster

                                  Hi Ludopot,
                                  they response me

                                  Hi Dear Customer,

                                  Thanks for contacting Ebyte for sales and technical support.

                                  1.All employees of Ebyte are having holiday and will get back to work after 19th, Feb. 2021.

                                  2.Ebyte accept orders during holiday time but shipping date will be after 19th.Feb.2021.

                                  For technical support cases, you may send your questions with full model numbers, order ID numbers, store name and, if you have, screenshots of your settings to me by email.

                                  I will try to reply you every 1-3 days because I will have limited access to email.
                                  Sorry for the inconvenience.
                                  ———————————
                                  Best Regards,
                                  Sales Engineer:Robin Hu
                                  Email: sales06@ebyte.com
                                  Phone: +86-18584911141
                                  Skype: Ebyte Robin Hu
                                  Website: http://www.ebyte.com/en/
                                  Chengdu Ebyte Electronic Technology Co., Ltd.
                                  Address:Building B5, Mould Industrial Park, 199# Xiqu Ave, West High-tech Zone, Chengdu, 611731

                                  I rewrite the email with the orders information, but we must wait after the Chinese New Year.

                                  Keep in touch, Bye Renzo

                                Viewing 15 posts - 871 through 885 (of 1,020 total)