outgoing-mail

.NET SMTPClient - where is pending outgoing mail stored?

If I've queued up some email to be sent via the System.Net.Mail.SMTPClent, where can I find this mail? With the Windows SMTP Client, it's in the C:\inetpub\mailroot folder - is there a similar folder for the .NET client? EDIT: Here's an example. If I turn off the outgoing SMTP server on my XP computer and then run an application that se...

how to configure a SMTP server in windowx xp to send mails to gmail?

forgive my ignorance, I thought it was going to be a no-brainer but I still couldn't figure it out I'm using redmine (is a ticket system made with rails) and it has the option of sending you mails to notify events. So far now I could not configure a smtp server to relay mails to my gmail account. I want to configure some local client ...

How to format outgoing email - Create in code or use templates with replaceable values?

What is the best practice to create templates for outgoing email? Should I have each class create the html for the specific email? Should I have a text template with placeholders that are replaced by a common method? In the first option, I'd have a sendEmail method that takes the formatted html string and send the email. Multiple cla...