rlisagor / ahv-council-thing

This thing mails letters to City Council.
3 stars 2 forks source link

Reply-to header should specify the sender's email #1

Closed rlisagor closed 6 years ago

rgwood commented 6 years ago

It looks like there is no way to add custom headers with the SendEmail() method we're currently using. For that we need to switch to SendRawEmail(). Bit more work than just adding the header. :(

rgwood commented 6 years ago

Nevermind, I missed the ReplyToAddresses parameter on SendEmail(). This should be pretty easy – I've got some time now and I will see if I can get this working.

rgwood commented 6 years ago

Yup that was pretty easy, just 1 line. Developed and tested while on a train to Seattle, what a time to be alive.

Pull request: https://github.com/rlisagor/ahv-council-thing/pull/9