[solved] Please help for my config.php (Email)
Board index / PHP Melody - Video CMS / PHP Melody 1.6.x (old version)
6 posts • Page 1 of 1
Hello,
Please I have a problem with my contact page, I do not receive messages.
Here is my email server info on config.php, what is my error and what should I do,please ?
//-- Email server info --//
define('_MAIL_HOST', 'smtp.gmail.com '); // specify main SMTP server
define('_MAIL_USER', 'ilavision2@gmail.com'); // SMTP username
define('_MAIL_PASS', '************'); // SMTP password
define('_MAIL_FROM', 'ilavision2@gmail.com'); // Sender's email (yours)
define('_MAIL_FROM_NAME', 'chleuhtv.com'); // Sender's name (can also represent your site's name)
define('_MAIL_PORT', 587); // Mail server port ( Can be 25, 26. 456 for
NB:
*For the _MAIL_PORT' I tested 25, 26, 456.581, but no success
Thank you
Please I have a problem with my contact page, I do not receive messages.
Here is my email server info on config.php, what is my error and what should I do,please ?
//-- Email server info --//
define('_MAIL_HOST', 'smtp.gmail.com '); // specify main SMTP server
define('_MAIL_USER', 'ilavision2@gmail.com'); // SMTP username
define('_MAIL_PASS', '************'); // SMTP password
define('_MAIL_FROM', 'ilavision2@gmail.com'); // Sender's email (yours)
define('_MAIL_FROM_NAME', 'chleuhtv.com'); // Sender's name (can also represent your site's name)
define('_MAIL_PORT', 587); // Mail server port ( Can be 25, 26. 456 for
NB:
*For the _MAIL_PORT' I tested 25, 26, 456.581, but no success
Thank you
.::Alfirdaws.Com::.
-
chleuhtv - Verified Customer
- Posts: 119
- Joined: Mar 28, 2009 1 pm
- Reputation points: 0
There's an option in Admin which lets to turn on SMTP. Just turn it off in Admin and it should work fine.
-
brownbloodz - Verified Customer
- Posts: 1243
- Joined: May 01, 2008 8 pm
- Reputation points: 261
brownbloodz wrote:There's an option in Admin which lets to turn on SMTP. Just turn it off in Admin and it should work fine.
Thank you for your reply
I find the option SMTP in my Admin, and I make it off
But it does not work.
there is not an error in configuration?

//-- Site info --//
define('_SITENAME', ".::ChleuhTV.Com::."); // Site Name/Title (e.g My Music Video Site)
define('_URL', 'http://chleuhtv.com'); // Insert full URL WITHOUT any trailing slash (e.g http://www.example.com)
//-- Email server info --//
define('_MAIL_HOST', 'smtp.gmail.com '); // specify main SMTP server
define('_MAIL_USER', 'ilavision2@gmail.com'); // SMTP username
define('_MAIL_PASS', '**********'); // SMTP password
define('_MAIL_FROM', 'ilavision2@gmail.com'); // Sender's email (yours)
define('_MAIL_FROM_NAME', 'chleuhtv.com'); // Sender's name (can also represent your site's name)
define('_MAIL_PORT', 456); // Mail server port ( Can be 25, 26. 456 for GMAIL. 587 for Yahoo ). Ask your host if uncertain.
Thank you
.::Alfirdaws.Com::.
-
chleuhtv - Verified Customer
- Posts: 119
- Joined: Mar 28, 2009 1 pm
- Reputation points: 0
Replace the below line
define('_MAIL_HOST', 'smtp.gmail.com'); // specify main SMTP server
to
define('_MAIL_HOST', 'ssl://smtp.gmail.com'); // specify main SMTP server
- Video Girmit
http://www.videogirmit.com
define('_MAIL_HOST', 'smtp.gmail.com'); // specify main SMTP server
to
define('_MAIL_HOST', 'ssl://smtp.gmail.com'); // specify main SMTP server
- Video Girmit
http://www.videogirmit.com
- videogirmit
- Verified Customer
- Posts: 26
- Joined: Nov 03, 2008 5 pm
- Reputation points: 0
This is my email settings in config.php ....
define('_MAIL_HOST', 'ssl://smtp.gmail.com'); // specify main SMTP server
define('_MAIL_USER', '****@gmail.com'); // SMTP username
define('_MAIL_PASS', '********'); // SMTP password
define('_MAIL_FROM', '******@gmail.com'); // Sender's email (yours)
define('_MAIL_FROM_NAME', 'Video Girmit'); // Sender's name (can also represent your site's name)
define('_MAIL_PORT', 465); // Mail server port ( Can be 25, 26. 456 for GMAIL. 587 for Yahoo ). Ask your host if
define('_MAIL_HOST', 'ssl://smtp.gmail.com'); // specify main SMTP server
define('_MAIL_USER', '****@gmail.com'); // SMTP username
define('_MAIL_PASS', '********'); // SMTP password
define('_MAIL_FROM', '******@gmail.com'); // Sender's email (yours)
define('_MAIL_FROM_NAME', 'Video Girmit'); // Sender's name (can also represent your site's name)
define('_MAIL_PORT', 465); // Mail server port ( Can be 25, 26. 456 for GMAIL. 587 for Yahoo ). Ask your host if
- videogirmit
- Verified Customer
- Posts: 26
- Joined: Nov 03, 2008 5 pm
- Reputation points: 0
6 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests