Filipin.eu

Željko Filipin's blog.
Home Blog Tags License

View on GitHub
17 January 2007

Testing E-mail: Install SMTP Server

by Željko Filipin

tags: testing

Estimated reading time is 1 minute.

I will be writing about testing e-mail functionality of web applications in the next post or two. If you are serious about testing e-mail functionality, the first step is to install SMTP server at your machine. This is tested on Windows XP Professional, service pack 2. You will need Windows operating system CD.

Make sure you are logged in as administrator, or start Add or Remove Programs as administrator:

At Add or Remove Programs:

I am using Ruby’s Net::SMTP library for sending e-mail. I tried to send an e-mail and got this exception:

Exception: 550 5.7.1 Unable to relay for community@site

You need to change a setting or two:

Many thanks to my colleague who helped me to install and adjust my SMTP server.

Feedback

Thank you for reading. If you want to stay in touch please use the feed or send me an email.