Email Sending issues with sendmail

Follow

If you are trying to send automated email reports from RStudio Connect as specified here, and are seeing errors like the below:

2019/02/12 12:44:25 [document: 202; variant: 2; bundle: 831] Completed scheduled document execution
2019/02/12 12:44:25 [document: 202; variant: 2; bundle: 831] Sending email
2019/02/12 12:44:25 [document: 202; variant: 2; bundle: 831] Message recipients: person1@domain.com, person2@domain.com
2019/02/12 12:44:25 [document: 202; variant: 2; bundle: 831] Failure emailing the scheduled: exit status 75
2019/02/12 12:44:25 [document: 202; variant: 2; schedule: 1] Completed scheduled document execution

 

You can use the attached sample email message to test your sendmail configuration which should help you troubleshoot. Here are the step:

1) add all the recipients to the sample email message (one per line - e.g. `Bcc: person1@domain.com`)
2) modify the reply-to and from addresses
3) send the sample email message via sendmail -t < example-message.txt
4) see what happens, and debug accordingly 

Please make sure to verify your settings by sending a test message before running this script!

Comments