Forum Replies Created
- 
		AuthorPosts
- 
		
			
				
The test works well with version 4 of EmailSender. 
 The Brevo site sends me emails perfectly.
 There’s a small error in your sketch: there’s a space missing in the “const char *” command.Thank you. weird, with v4, it no longer recognizes EmailSender.h 
 Here’s the message for a program check :“fatal error: EMailSender.h: No such file or directory 
 #include “EMailSender.h”
 ^~~~~~~~~~~~~~~
 compilation terminated.
 exit status 1Compilation error: EMailSender.h: No such file or directory” ok ok I understand now: smtp.gmail.com requires a TLS/SSL connection and an App Password if you are using a Google account (2-step verification). The standard W5100 (Ethernet) shield does not support TLS/SSL, so it cannot connect directly to smtp.gmail.com over 465 (SSL) or perform STARTTLS over 587 So, I’ll look for another solution. You can close this topic. //#define DEFAULT_EMAIL_NETWORK_TYPE_ARDUINO NETWORK_W5100 <== deleting the // , the line must be made active EMailSender emailSend(“apikey”, “apikey-psw”, “<my sendgrid email>”, “smtp.sendgrid.net”, 587); // apikey remains apikey 
 // apikey-psw is the key given by SendGrid (64 characters)
 // snedgridmail ==> do not put the < >// ERROR : EMailSender::Response resp = emailSend.send(“the email i want the maessage to go”, message); 
 ok => EMailSender::Response resp = emailSend.send(“recipient@mail.***”, message);make these changes and it should work 
 SendGrid is normally free for non-intensive personal use
 since you didn’t put a destination address, it couldn’t go … “recipient@mail.***”it’s a simple 2-level confirmation … 
 (mail + password) and mobile number
 Sorry, but I don’t think we can call each other. I live in Belgium and I don’t understand enough English to hold a conversation. Writing is one thing, but conversation is another…You need to create a SendGrid account and take the free option. 
 You will need a confirmation app on your mobile phone.
 then create an api (relay).
 Save your codes, they won’t be visible after they’ve been created.
 that should do it.
 see : https://sendgrid.com/en-us/blog/smtp-relay-service-basics- 
		This reply was modified 1 year, 6 months ago by Jules. 
 
- 
		This reply was modified 1 year, 6 months ago by 
- 
		AuthorPosts


 
