?
Solved

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

Posted on 2014-10-21
4
Medium Priority
?
81 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 2000 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 2000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
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.…
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.
Suggested Courses

801 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