Friday, 13 April 2012

Setting up an SMTP Server for my - ASP.NET PROJECT

My boss is coming and monitoring will be great I need to wrap up my asp.net project on email security
this is what i did
1. Configure an SMTP server I used Apache James Server
i. download the Apache JAMES server and unzip to a location on your PC
ii. Set the environmental variables for the server i.e add it to the system path
this can be done by right clicking on my computer and select properties
select advanced system settings
Click on Environment Variables button
Click on New under system variable group box
Fill in the variable name and value this should be the path to the variable(folder or file)
Click the OK button
Search through and select the variables under the system variables group box, select PATH
and click edit
append to the end of the variable value the following
a semicolon [ ; ] followed by the name of the variable you set early on enclosed in % %
our environment variable is set
iii. open command prompt and type run to start the Apache JAMES server
if it starts successfully you will see the following

C:\Users\User>run
Using PHOENIX_HOME: C:\james-2.3.2
Using PHOENIX_TMPDIR: C:\james-2.3.2\temp
Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0_26

Phoenix 4.2

James Mail Server 2.3.2
Remote Manager Service started plain:4555
POP3 Service started plain:110
SMTP Service started plain:25
NNTP Service started plain:119
FetchMail Disabled

if not check the environment variable settings by closely following steps (ii, iii)

No comments:

Post a Comment