Solved

SMTP Mail Server On A Local Server Running Server 2003

Posted on 2008-09-29
3
200 Views
Last Modified: 2008-10-13
Hello.  I am trying to set up SMTP on my local server.  I am on an intranet.  I've been reading a lot of the questions on here (including one I asked a long time ago, but didn't have many details), but I'm not seeing anything exact.

I have set up a Server 2003 machine.
I loaded the "E-mail Services" component.
I can see the "Default SMTP Vritual Server" directory in IIS Manager.
I can see the "Domains" directory below that.
The host name of the server is "pmcct2-2".  In the "Domains" properties, "pmcct2-2" is what is listed.

I use the attached mail script on any ASP hosting provider outside our intranet and it works fine.  However, I can not get it to work on our intranet.  I'm not really sure of the syntax for the "FROM" parameter in the script.  There is not a ".com" domain.
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="test@pmcct2-2.com"
myMail.To="myemail@domain.com"
myMail.TextBody=request.Form("fm_message")
myMail.Send
set myMail=nothing
%>

Open in new window

0
Comment
Question by:lshane
  • 2
3 Comments
 
LVL 17

Expert Comment

by:Andres Perales
ID: 22599820
Do you have a firewall, if so, do you have the port open to send message traffice outside from that machine in your firewall?
0
 

Author Comment

by:lshane
ID: 22599889
Well, our company does have a firewall.  However, I can access the internet just fine and retrieve E-mail from my ISP's webmail and can also send E-mail OK.

I verified port 25 is selected on my webserver.

Not sure if that answers the question.
0
 
LVL 17

Accepted Solution

by:
Andres Perales earned 500 total points
ID: 22599907
in that instance you are request the request for email.  the firewall will need to have a specific rule to allow that specific ip or machine to send to email to the outside.
Get with your firewall guys.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question