Loading ...

[solved] Please help for my config.php (Email)

Board index / PHP Melody - Video CMS / PHP Melody 1.6.x (old version)

Forums for the previous PHP Melody version (1.6.x)

Postby chleuhtv on Jul 14, 2009 5 pm


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
.::Alfirdaws.Com::.
User avatar
chleuhtv
Verified Customer
Verified Customer
 
Posts: 119
Joined: Mar 28, 2009 1 pm
Reputation points: 0

Postby brownbloodz on Jul 14, 2009 5 pm


There's an option in Admin which lets to turn on SMTP. Just turn it off in Admin and it should work fine.
User avatar
brownbloodz
Verified Customer
Verified Customer
 
Posts: 1243
Joined: May 01, 2008 8 pm
Reputation points: 261

Postby chleuhtv on Jul 14, 2009 6 pm


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::.
User avatar
chleuhtv
Verified Customer
Verified Customer
 
Posts: 119
Joined: Mar 28, 2009 1 pm
Reputation points: 0

Postby videogirmit on Jul 14, 2009 7 pm


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
videogirmit
Verified Customer
Verified Customer
 
Posts: 26
Joined: Nov 03, 2008 5 pm
Reputation points: 0

Postby videogirmit on Jul 14, 2009 7 pm


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
videogirmit
Verified Customer
Verified Customer
 
Posts: 26
Joined: Nov 03, 2008 5 pm
Reputation points: 0

Postby chleuhtv on Jul 14, 2009 11 pm


@ brownbloodz And videogirmit
Thank you very much, the problem is solved :D

Image
.::Alfirdaws.Com::.
User avatar
chleuhtv
Verified Customer
Verified Customer
 
Posts: 119
Joined: Mar 28, 2009 1 pm
Reputation points: 0


Who is online

Users browsing this forum: No registered users and 0 guests

cron