Forum Replies Created

Viewing 15 posts - 1 through 15 (of 1,029 total)
  • Author
    Posts
  • in reply to: EmailSender with Gmail #33466
    Renzo Mischianti
    Keymaster

      I did some fixes, please retry.
      I tested Arduino Mega with Brevo service, and it works correctly without SSL.
      I also added a specified example.

      Please give me feedback.
      Bye Renzo

      in reply to: cannot get D1 mini to send / receive via E32 #33462
      Renzo Mischianti
      Keymaster

        Hi aflushe,
        First of all, I think there is a serial baud rate mismatch or some communication problem.
        Some MCUs and devices have different internal resistors. Try to remove the pull-up resistor and retry.
        Also, check the wire and power supply as usual.
        Bye Renzo

        in reply to: EmailSender with Gmail #33456
        Renzo Mischianti
        Keymaster

          Hi Jules sorry for the late response,
          However, I received some requests for this library, and I began to add extensive support. I developed and added numerous features. In the GitHub branch repository, you can find an updated version of the library (Beta version) that try to support SSL on port 465 also for AVR system.
          If you can give me some feedback.

          Release v4.0.0: Add STARTTLS support and comprehensive documentation

          Major Features:
          – ✨ Add full STARTTLS support (port 587) for secure email transmission
          – ✨ Integrate internal SSLClient for ESP32/ESP8266 STARTTLS connections
          – ✨ Enhance authentication methods (AUTH LOGIN, PLAIN, CRAM-MD5)
          – ✨ Add comprehensive English documentation with platform-specific tutorials

          Improvements:
          – 🔧 Unify client handling for better SSL/TLS compatibility
          – 🔧 Improve EHLO/HELO command handling with multi-line response support
          – 🔧 Enhance connection retry logic and error handling
          – 🔧 Better memory management for large attachments
          – 🔧 Add detailed SMTP response drain mechanism

          Bug Fixes:
          – 🐛 Fix SSLClient initialization and scope issues on ESP32
          – 🐛 Fix STARTTLS upgrade sequence for proper SSL handshake
          – 🐛 Correct BearSSL integration for Ethernet shields
          – 🐛 Fix client reference handling in send() method

          Documentation:
          – 📚 Add complete README.md with all features and examples
          – 📚 Include links to mischianti.org tutorials for all platforms
          – 📚 Add troubleshooting guide and Gmail configuration instructions
          – 📚 Document API reference with all methods and data structures
          – 📚 Add migration guide from v3.x to v4.0.0

          Breaking Changes:
          – ⚠️ Minimum Arduino IDE version: 1.8.x
          – ⚠️ ESP32 core minimum version: 2.0.x
          – ⚠️ Some internal API changes (user-facing API remains compatible)

          Tested Platforms:
          – ESP32 (WiFi + Ethernet with STARTTLS/SSL)
          – ESP8266 (WiFi + Ethernet with STARTTLS/SSL)
          – Arduino Mega (Ethernet with SSLClient)
          – Arduino SAMD (WiFiNINA)
          – STM32 (Ethernet with SSL)
          – Raspberry Pi Pico W (WiFi + LittleFS)

          This release brings production-ready STARTTLS support making the library
          compatible with modern SMTP servers requiring port 587 encryption, while
          maintaining backward compatibility with implicit SSL on port 465.

          Bye Renzo

          in reply to: Stuck: SMTP AUTH error (500 unrecognized command ) #33454
          Renzo Mischianti
          Keymaster

            Hi Bruce sorry for the late response,
            However, I received some requests for this library, and I began to add extensive support. I developed and added numerous features. In the GitHub branch repository, you can find an updated version of the library (Beta version) that try to support SSL on port 465 also for AVR system.
            If you can give me some feedback.

            Release v4.0.0: Add STARTTLS support and comprehensive documentation

            Major Features:
            – ✨ Add full STARTTLS support (port 587) for secure email transmission
            – ✨ Integrate internal SSLClient for ESP32/ESP8266 STARTTLS connections
            – ✨ Enhance authentication methods (AUTH LOGIN, PLAIN, CRAM-MD5)
            – ✨ Add comprehensive English documentation with platform-specific tutorials

            Improvements:
            – 🔧 Unify client handling for better SSL/TLS compatibility
            – 🔧 Improve EHLO/HELO command handling with multi-line response support
            – 🔧 Enhance connection retry logic and error handling
            – 🔧 Better memory management for large attachments
            – 🔧 Add detailed SMTP response drain mechanism

            Bug Fixes:
            – 🐛 Fix SSLClient initialization and scope issues on ESP32
            – 🐛 Fix STARTTLS upgrade sequence for proper SSL handshake
            – 🐛 Correct BearSSL integration for Ethernet shields
            – 🐛 Fix client reference handling in send() method

            Documentation:
            – 📚 Add complete README.md with all features and examples
            – 📚 Include links to mischianti.org tutorials for all platforms
            – 📚 Add troubleshooting guide and Gmail configuration instructions
            – 📚 Document API reference with all methods and data structures
            – 📚 Add migration guide from v3.x to v4.0.0

            Breaking Changes:
            – ⚠️ Minimum Arduino IDE version: 1.8.x
            – ⚠️ ESP32 core minimum version: 2.0.x
            – ⚠️ Some internal API changes (user-facing API remains compatible)

            Tested Platforms:
            – ESP32 (WiFi + Ethernet with STARTTLS/SSL)
            – ESP8266 (WiFi + Ethernet with STARTTLS/SSL)
            – Arduino Mega (Ethernet with SSLClient)
            – Arduino SAMD (WiFiNINA)
            – STM32 (Ethernet with SSL)
            – Raspberry Pi Pico W (WiFi + LittleFS)

            This release brings production-ready STARTTLS support making the library
            compatible with modern SMTP servers requiring port 587 encryption, while
            maintaining backward compatibility with implicit SSL on port 465.

            Bye Renzo

            in reply to: 550 5.0.0 Error #33453
            Renzo Mischianti
            Keymaster

              Hi Erick sorry for the late response,
              However, I received some requests for this library, and I began to add extensive support. I developed and added numerous features. In the GitHub branch repository, you can find an updated version of the library (Beta version) that can solve the problem.
              If you can give me some feedback.

              Release v4.0.0: Add STARTTLS support and comprehensive documentation

              Major Features:
              – ✨ Add full STARTTLS support (port 587) for secure email transmission
              – ✨ Integrate internal SSLClient for ESP32/ESP8266 STARTTLS connections
              – ✨ Enhance authentication methods (AUTH LOGIN, PLAIN, CRAM-MD5)
              – ✨ Add comprehensive English documentation with platform-specific tutorials

              Improvements:
              – 🔧 Unify client handling for better SSL/TLS compatibility
              – 🔧 Improve EHLO/HELO command handling with multi-line response support
              – 🔧 Enhance connection retry logic and error handling
              – 🔧 Better memory management for large attachments
              – 🔧 Add detailed SMTP response drain mechanism

              Bug Fixes:
              – 🐛 Fix SSLClient initialization and scope issues on ESP32
              – 🐛 Fix STARTTLS upgrade sequence for proper SSL handshake
              – 🐛 Correct BearSSL integration for Ethernet shields
              – 🐛 Fix client reference handling in send() method

              Documentation:
              – 📚 Add complete README.md with all features and examples
              – 📚 Include links to mischianti.org tutorials for all platforms
              – 📚 Add troubleshooting guide and Gmail configuration instructions
              – 📚 Document API reference with all methods and data structures
              – 📚 Add migration guide from v3.x to v4.0.0

              Breaking Changes:
              – ⚠️ Minimum Arduino IDE version: 1.8.x
              – ⚠️ ESP32 core minimum version: 2.0.x
              – ⚠️ Some internal API changes (user-facing API remains compatible)

              Tested Platforms:
              – ESP32 (WiFi + Ethernet with STARTTLS/SSL)
              – ESP8266 (WiFi + Ethernet with STARTTLS/SSL)
              – Arduino Mega (Ethernet with SSLClient)
              – Arduino SAMD (WiFiNINA)
              – STM32 (Ethernet with SSL)
              – Raspberry Pi Pico W (WiFi + LittleFS)

              This release brings production-ready STARTTLS support making the library
              compatible with modern SMTP servers requiring port 587 encryption, while
              maintaining backward compatibility with implicit SSL on port 465.

              Bye Renzo

              in reply to: EmailSender with Gmail #33410
              Renzo Mischianti
              Keymaster

                Wait, for w5500 I do this work that I think can be suitable also for Mega

                STM32 send emails with attachments and SSL (like Gmail): w5500, enc28j60, SD, and SPI Fash

                Give me a feedback Renzo

                in reply to: EmailSender with Gmail #33409
                Renzo Mischianti
                Keymaster

                  Hi Jules,
                  You are right, I try to upgrade the EmailSender, but for Mega I think the requirements for 587 are too high.
                  Keep in touch.
                  Bye Renzo

                  in reply to: Stuck: SMTP AUTH error (500 unrecognized command ) #33347
                  Renzo Mischianti
                  Keymaster

                    Hi Bruce,
                    The library supports only SSL/TLS handled on port 465, the EmailSender library doesn’t support the STARTTLS command required for port 587.
                    I try to upgrade in the future, but now you can check the tutorial on this site.

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

                    Bye Renzo

                    Renzo Mischianti
                    Keymaster

                      Hi Gadzilla,
                      I think you use the AUX pin to wake up the Arduino, and you read the buffer immediately.
                      If you lost a byte, there is a problem on the transmission channel or in the wake timing; you must check the power and the wake time.
                      The management of send and receive is controlled by the device and work good (in general).
                      Bye Renzo

                      Renzo Mischianti
                      Keymaster

                        It’s probably an encoding problem, but I need to find the specified bug.
                        Bye Renzo

                        Renzo Mischianti
                        Keymaster

                          Hi Xobotovsky,
                          Try to format the SD and check the file generated if there are any issues.
                          Bye Renzo

                          in reply to: Max power for E220 30dB module #32898
                          Renzo Mischianti
                          Keymaster

                            Hi Elija,
                            to avoid voltage drops and ensure stable power for your E220-900T30D module, don’t power it from the Arduino’s 5V pin—the onboard regulator can’t supply enough current during transmission.

                            Instead, use a DC-DC buck converter to step down your 6V battery directly to 5V and power the E220 module from that. Add a large capacitor (470 µF + 0.1 µF) close to the E220’s VCC/GND to handle current spikes.

                            This setup will provide stable voltage and allow the E220 to transmit at full power without brownouts.

                            Bye Renzo

                            in reply to: E220 randomly working #32819
                            Renzo Mischianti
                            Keymaster

                              Hi Wany,
                              Generally, the problem can be generated by noise on wiring or insufficient power.

                              I suggest performing a full connection, setting an external power supply, and then retrying.

                              Bye Renzo

                              in reply to: E32 arduinoWOR example lib error #32818
                              Renzo Mischianti
                              Keymaster

                                Hi Gmed,
                                you must install the library.
                                Bye Renzo

                                in reply to: LoRa distance problems #32696
                                Renzo Mischianti
                                Keymaster

                                  Hi Pashazaur,
                                  Yes, the power supply is very important for raising a good distance, and the antenna is also very important.
                                  Bye Renzo

                                Viewing 15 posts - 1 through 15 (of 1,029 total)