Solved

How to configure Win2012r2 to allow email to be sent from webpage (iis 8.5)?

Posted on 2014-10-21
4
57 Views
Last Modified: 2016-06-19
We have a developer creating a new website on a new server (Win2012r2) and the developer wants to allow website visitors to send email to the webmaster via a submit button.  What needs to be enabled on our web server to make this happen?  The web server sits in the DMZ, and this function will be used by external people.

With our current Win2008r2sp1 web server, SMTP is not installed and when you click on a link on a page to send mail to the webmaster, it uses whatever mail client is installed on the local machine.  That is the same behavior I want on the new server, but it was setup by someone who is no longer here.  The current developer is saying I need to open port 25, but I don't think that is necessary.

Thanks
0
Comment
Question by:allies
  • 2
4 Comments
 
LVL 2

Assisted Solution

by:Berlin142
Berlin142 earned 500 total points
ID: 40394859
However you implement this - you need two things: TCP 25 is required from IIS Server (where the web site is hosted) to a SMTP gateway. This can be Exchange, but also Notes, sendMail, Postfix, ... Also your IIS Needs to know, what to do with SMTP links (create a mail...). You need a SMTP MTA.
In the sceond step, you need t ensure, that the SMTP mail will be routet correct to the reciepients mailbox. If this is internal, you can direct sned the mail to the Exchange Server (or whatever mail server do you have). If the web server is hosted by in a provider environment, you should deliver the mail to a gateway, what can handle SMTP mails.
0
 

Author Comment

by:allies
ID: 40395123
The web developer said to just 'open port 25', but that doesn't really tell me anything.  I am not sure what to do for this scenario.
This would be an external setup whereby the web server sits in the DMZ with external people clicking on a 'submit' button to send an email to the webmaster.
0
 
LVL 2

Accepted Solution

by:
Berlin142 earned 500 total points
ID: 40395286
If you start the SMTP service on the web server in the DMZ, then you will be able to use this as the MTA. Then I would prefer to open a P2P connection over the firewall to your backend mail environment or forward from IIS server the mail to the mail gateway in the DMZ to delivery. I would not allow users on the application to send mails direct from IIS server via DMZ to somewhere in the world, you need to control the solution.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

In my previous 24 VMware Articles (http://www.experts-exchange.com/ARTH_1864316.html?arthOrderBy=3&arthSort=1#arth), most featured Intermediate VMware Topics. My next series of articles concentrated on topics for the VMware Novice;   If you would…
The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

773 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