Solved

SMTP Mail Server On A Local Server Running Server 2003

Posted on 2008-09-29
3
196 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

14 Experts available now in Live!

Get 1:1 Help Now