Solved

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

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

705 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

19 Experts available now in Live!

Get 1:1 Help Now