Support Home Sales Website Technology Contact Us
RDP Support  


RDPWin KB Booking Engine - IRM.Net RDPWin4 & PCI Compliance Search

IRM E-Mails Not Sent - SMTP Folders Incorrect

Whenever Email is sent from the IRM it first goes to an outgoing SMTP server.  Microsoft provides an SMTP server at no charge with every copy of Windows Server 2003, Windows Server 2008, Windows XP Professional, Vista, or Windows 7.  An SMTP server must be installed on the IRM.   See "Installation and Configuration of SMTP Mail Server

If the SMTP server on the IRM server is installed more than once, or installed incorrectly, e-mails may not work.  The IRMTool.HTM test page will fail.  In one case the IRM could not send Email, but Outlook Express would send e-mails correctly.  The e-mails from the IRM were placed in the c:\inetpub\mailroot\pickup folder as normal.  The SMTP server ignored these since they never were sent out.  Normally, the SMTP server processes any new file in this folder.

Finding the Problem:

  1. In IIS Manager under the SMTP properties and the Messages tab, there is a setting for the Badmail directory.  Normally, this is c:\inetpub\mailroot\badmail.  On the problem system it was c:\inetpub\wwwroot\irm\mailroot\badmail.
  2. When looking at the folders with Windows Explorer, there was a Mailroot folder under the IRM folder with all the associated mail folders.

When one of the test e-mails sitting in the normal pickup folder was copied and moved into the ...irm\mailroot\pickup folder, it was sent out successfully.  This meant that SMTP server was set up incorrectly and looking for e-mails in the wrong place, or at least other than the default.

Solution:

  1. Update to the latest version of the IRM, which includes a batch file to fix this problem.
  2. From the IRM Bridge computer, start a command prompt.  Navigate to:
    C:\Inetpub\wwwroot\IRM\DLL's
  3. Execute the batch file "SETSMTPFOLDERS.BAT".  
  4. You may get a message to register CScript as the default script engine, click "Yes" if that message appears.
  5. Look at the display to make sure all four commands in this batch file executed correctly
  6. Look at the configuration of the SMTP server to make sure the badmail folder is correct.  Start IIs, right click SMTP server, properties.  On the "Messages" tab, back sure the Badmail directory is C:\Inetpub\mailroot\Badmail
  7. Retest the Email using IRMTOOLS.HTM

Microsoft Knowledgebase Article

The following Microsoft KB article is related:
http://support.microsoft.com/default.aspx?scid=kb;en-us;240917

The Microsoft article above has some typos (three out of the four commands), so don't use the text in the article. Use the SETSMTPFOLDERS.BAT file as described above.   

E-Mail Related Topics

IRM Troubleshooting Links

Troubleshooting the Internet Reservation Module (IRM)
Eliminate Session Running Warning and Correct Linking to the IRM from your Marketing Website
Testing and Troubleshooting the IRM with IRMTOOLS.HTM
Limit Guest Requests on the IRM
Configure Room Types and Numbers
Troubleshooting DNS (Domain Name Services) with IRM
Using Filemon.exe and Regmon.exe to Find Security Problems with IRM and Data Server
Changing Pervasive Terminal Services Security with RegEdit
Correcting a Stat 94 - Editing IRM Bridge Server SAT Entries
Installation, Configuration & Troubleshooting Internal SMTP Outgoing E-mail Server
Windows Internal Firewall May Need to be Turned Off
Knowledge Base (IRM)

 

Links to RDP Data Server and Internet Reservation Module (IRM) documents
Support Home  RDPWin4 & PCI Compliance Enhancement Requests Open A Web Support Ticket
Training New Sales Website Old Sales Website Contact Us

 Facebook     Twitter      LinkedIn   TODF