Solved

SMTP Mail Server On A Local Server Running Server 2003

Posted on 2008-09-29
3
195 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 Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now