Site icon Renzo Mischianti

Stuck: SMTP AUTH error (500 unrecognized command )

Hello, Ciao Renzo for all the hard work! I am SO wanting my Arduino controller boards I make for clients / projects to email daily log files. Its been a long long road. Seems to simple yet so complex. I am now using Due clone (ARM Cortex-M3 CPU) and SPI W5500 wired Ethernet, SD etc That all works okay, and I can run the https test okay. But I need to use my own smtp server with TLS port 587. Serer has been tested independently. The config is: EMailSender emailSend("eman@wisenet.co.za","passsswqord","eman@wisenet.co.za","smtp.wisenet.co.za",587); Running my test, which is much the same as the STM32w5500_GMail_SSL_Attach_SD example, I get this on the serial monitor: Initializing SD card...initialization done. Begin Ethernet DHCP OK Ethernet Successfully Initialized Local IP : 192.168.0.109 Subnet Mask : 255.255.255.0 Gateway IP : 192.168.0.1 DNS Server : 192.168.0.1 Write file content! All structure created! Sending status: 0 235 SMTP AUTH error (500 unrecognized command) So its talking to the SMTP Server but can't authenticate...? I generated trust_anchor.h for wisenet.co.za,smtp.wisenet.co.za and that is in the sketch folder I uncommented #define SSLCLIENT_WRAPPER As I say h/w is all tested okay with all works with the https: test example One thing, I can't use #include <EthernetLarge.h> it generates reams of errors like libraries\EthernetLarge-master\Dhcp.cpp.o:C:\Users\User\Documents\Arduino\libraries\EthernetLarge-master\src/Dhcp.cpp:29: first defined here libraries\Ethernet\Dhcp.cpp.o: In function `__static_initialization_and_destruction_0': So I am using #include <Ethernet.h> Any advise highly appreciated, I really would like to get this working Thanks. Bruce
Exit mobile version