Solved

SMTP Mail Server On A Local Server Running Server 2003

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

832 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