Sending E-Mail From Scripts in LPCP
Our shared LPCP servers use a separate server for email unlike what you may be used to on our shared cPanel servers which send email from the same hosting server. Due to this, you will have to use SMTP to send email from scripts and specifically, SMTP Auth (authenticated). For scripts you have created, please see http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm . For 3rd party scripts, check if the script offers a choice between sendmail and SMTP. Choose SMTP. You may need to alter the code or add a contribution or plugin which enables SMTP Auth. There are contributions available for osCommerce ( http://www.oscommerce.com/community/contributions,901 ) and WordPress ( http://wordpress.org/extend/plugins/wp-mail-smtp/ ). Joomla has this function built in but it must be chosen and set up.
Use the following settings:
SMTP Server Host Address: mail.yourdomain.com (change to your domain name) SMTP Server EHLO / HELO Name: name of the mail server (for example: lpmail01.lunariffic.com) SMTP Server Port Number: 25 SMTP Authentication Required: true SMTP Authentication Username: email address (specify the email address you want to use for sending) SMTP Authentication Password: password for the above email address
Your exact email server will be listed in the Critical Account Information welcome email that was sent to you when you first signed up.
Want to read this in another language?