Solved

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

Posted on 2014-10-21
4
68 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Resolve DNS query failed errors for Exchange
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 configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

685 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