I\'m searching for an working C# example to send attachments with Amazon-SES.
After reading that Amazon-SES now supports sending attachments I was searching for an C
You can setup IIS SMTP to relay through SES as well.
You need to install stunnel and set it up
Then you can just set the IIS SMTP Smart Host and some other options and it will relay your email through SES.
Instructions from above linked gist:
Instructions taken from Amazon's docs and modified as necessary.
c:\program files (x86)\stunnel\stunnel.conf file in notepadExample SSL server mode services section, won't have a client = yes line)[smtp-tls-wrapper]
accept = 127.0.0.1:2525
client = yes
connect = email-smtp.us-east-1.amazonaws.com:465
stunnel.exe and ensure no errors are reported (you will get a little systray icon)stunnel.exe -install at command line (note this installs the service but doesn't start it, so start it)telnet localhost 2525 and you should see an SMTP response from Amazon's server (if telnet isn't installed, add the feature in Server Manager / Features / Add Feature)[127.0.0.1] (include the brackets)2525 (like the stunnel.conf file)