Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pipe incoming email to a script on Windows IIS SMTP?

Tags:

People also ask

How do I email SMTP from IIS?

Features View, double-click SMTP E-mail. On the SMTP E-mail page, type the e-mail address of the sender in the E-mail address text box. On the SMTP E-mail page, select one of the following delivery methods: Deliver e-mail to SMTP server: to deliver e-mail messages immediately.

Does IIS support SMTP?

In order to send e-mail from an ASP.NET Web application, you must have the Simple Mail Transfer Protocol (SMTP) service of Internet Information Services (IIS) installed and configured on your server. The IIS SMTP service is a simple component for forwarding e-mail messages to an SMTP server for delivery.


I have a web application running on Windows IIS. This app has a database where each item has a unique key (1, 2, 3...), and a list of email addresses (among other things).

I would like users to send email to the server, using an email address that identifies the item, then have the server relay the message to the email addresses for that item. For example, if a user sends email to the following address:

[email protected]

Then the server would receive the email and pipe it to a script. The script would query the database for item 75 to get a list of email addresses, then re-send the email.

I could do this easily on a unix system using sendmail, but I have no idea if a similar setup can be accomplished on a Windows system (or if it would require additional software).