Solved

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

Posted on 2014-10-21
4
73 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
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…

724 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