Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to send mail from an application or web page  (Read 2787 times)

0 Members and 1 Guest are viewing this topic.

lathu_official

  • Guest
How to send mail from an application or web page
« on: January 07, 2014, 01:53:00 pm »
How to setup relay options so that users can send mail using the MailEnable COM component.



To send mail from an external application or web page (including using the COM component MEMail.Message (MEASP.DLL) or the Command Line Send Utility) to a remote user or mail server, the relay permissions of the server need to be configured to allow the application to relay.

For example: To allow the local machine (and the COM object) to send out email, add the 127.0.0.1 IP address as a privileged IP address.

To do this, please follow these instructions:

1. Load the Administration program, expand the Servers|Localhost|Connectors branch.
2. Right click on the SMTP icon, select Properties from the popup menu, then click the Relay tab.
3. Enable Allow relay for privileged IP ranges.
4. Click Privileged IPs and in the window that appears, make sure that 'By Default all computers will be Denied relay rights' is selected, andadd the source IP address that the component will use when it attempts to send mail through MailEnable's SMTP Connector.

Check the MailEnable SMTP Debug and Activity logs that can be found in the MailEnable Administration Program ->Servers->Localhost->Connectors->SMTP->Logs to verify the IP address the component/application is attempting to connect on.The logs will contain error information that will allow the cause of any faults to be determined. Ensure that the IP Address that the program/agent is using to communicate with MailEnable is granted relay rights.


-------------
Thanks