Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 61048

Method of exchanging digital messages from an author to one or more recipients.

5 votes
Accepted

Validating email addresses through temporary mail message

I think if you rename the method to like "ScrubEmailAddresses" or "SanitizeEmailAddresses" and envision it in an app that lets a user input email addresses to send an email to, it's kind of nifty. … It's a fairly decent server-side equivalent to a RegularExpressionValidator using the predefined email regex. …
moarboilerplate's user avatar
1 vote

Make Email Sender more maintainable and testable

I used this with great success on a project to make my email sending logic testable. I created a template called MyEmailTemplate (example name). … Once I got a layer up, I had to then figure out how to mock the template to test the layers dependent on email functionality. …
moarboilerplate's user avatar