By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,668 Members | 1,716 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,668 IT Pros & Developers. It's quick & easy.

How can I send dummy email????

P: n/a
Hi,
I am writing a program that will send emails to our customer. During
test I don't want to send real emails. Is there a way to send it to an
SMTP server so that it does not actually forward them to the actual
recipients.
Nov 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"Mark Miller" <ma*********@discussions.microsoft.com> wrote in message
news:Oa*************@TK2MSFTNGP15.phx.gbl...
Hi,
I am writing a program that will send emails to our customer. During
test I don't want to send real emails. Is there a way to send it to an
SMTP server so that it does not actually forward them to the actual
recipients.


Why don't you simply send them to yourself?

/Fredrik

Nov 16 '05 #2

P: n/a
I've run into the same thing.

We haven't implemented the solution yet, but our plan is to create a class
that derives from MailMessage but which actually sends the mail to a small
app that will decide what to do with it, based on whether the source app is
in test or not.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Mark Miller" <ma*********@discussions.microsoft.com> wrote in message
news:Oa*************@TK2MSFTNGP15.phx.gbl...
Hi,
I am writing a program that will send emails to our customer. During test
I don't want to send real emails. Is there a way to send it to an SMTP
server so that it does not actually forward them to the actual recipients.

Nov 16 '05 #3

P: n/a
Try the DevNull SMTP server at http://aboutmydns.com. This is a very
nice SMTP server that you can use for testing. It accepts emails but
deletes them as they come in


Nick Malik [Microsoft] wrote:
I've run into the same thing.

We haven't implemented the solution yet, but our plan is to create a class
that derives from MailMessage but which actually sends the mail to a small
app that will decide what to do with it, based on whether the source app is
in test or not.

Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.