Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SMTP Mail Server On A Local Server Running Server 2003

Posted on 2008-09-29
3
Medium Priority
?
209 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 2000 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

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…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Screencast - Getting to Know the Pipeline
Suggested Courses

916 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