Hi, I have created an email distribution list "#MyList@mycompany.com". In the RShiny world I was able to send emails by a) getting the IP of the server I was sending the emails from and b) whitelisting that IP address within my company's SMTP Relay registry. At that point I could send my email using a function like this:
mailR::send.mail(from = '#MyList@mycompany.com', to = sendto,
subject = subject, body = email_fname,
attach.files = attach.files, html = T, inline = T,
smtp = list(host.name=smtpRelay, port = smtPort),
authenticate = F, send = T)
What do I need to do to set up a similar service in databricks?