How to access smtp.gmail.com or other to send email

SurferTim:
It is the second example on this page.
Arduino Playground - Email

Thank You!
I found some examples in the meantime.
The examples use the

char server[] = "smtpcorp.com";

smtp adress. But I saw the webpage of the gmail that is about the smtp. Send email from a printer, scanner, or app - Google Workspace Admin Help And it doesn't contain "smtpcorp.com" adress. It mentioned 3 possibiliy 1.: "smtp-relay.gmail.com" 2.: "smtp.gmail.com" 3.: "aspmx.l.google.com". Should I change the smtpcorp.com to one of them?
And now I find a webpage that say use mail.smtp2go.com like SMTP server. https://support.smtp2go.com/hc/en-gb/articles/223087627-SMTP-Server-Settings What the hell?
I will try this: mail.smtp2go.com :slight_smile: