[SOLVED]Email Problem

Hello ,

I am new to phpvms. I am using PHPVMS v.5.5.

Now , whenever a Pilot Registers , or requests for a hub change ,etc, no email is sent to it. I have read alots of forums posts here . I tried them all but none are working . Please help me out. I am posting all my settings here. I have made a server email “[email protected]” (Some words are hidden by “xxxxxx”)

util.class.php

if(Config::Get('EMAIL_USE_SMTP') == true) {
$mail->IsSMTP();
$mail->Host = Config::Get('EMAIL_SMTP_SERVERS');
$mail->Port = Config::Get('EMAIL_SMTP_PORT');
if(Config::Get('EMAIL_SMTP_USE_AUTH') == true) {

		 $mail->SMTPAuth = Config::Get('EMAIL_SMTP_USE_AUTH');
		 $mail->SMTPSecure = Config::get('EMAIL_SMTP_SECURE');
$mail->Username = Config::Get('EMAIL_SMTP_USER');
$mail->Password = Config::Get('EMAIL_SMTP_PASS');
}
}

app.config.php and local.config.php

# Email Settings
Config::Set('EMAIL_FROM_NAME', 'My Virtual Team');
Config::Set('EMAIL_FROM_ADDRESS', '[email protected]');
Config::Set('EMAIL_USE_SMTP', true);
# Add multiple SMTP servers by separating them with ;
Config::Set('EMAIL_SMTP_SERVERS', 'cp-in-13.webxxxxxx.net');
Config::Set('EMAIL_SMTP_PORT', '465');
Config::Set('EMAIL_SMTP_USE_AUTH', true);
Config::Set('EMAIL_SMTP_SECURE', 'tls'); # must be "ssl" for Google Apps
Config::Set('EMAIL_SMTP_USER', '[email protected]');
Config::Set('EMAIL_SMTP_PASS', 'xxxxxxx');
# Set specific email addresses to send notifications to
Config::Set('EMAIL_NEW_REGISTRATION', '[email protected]');
Config::Set('EMAIL_NEW_PIREP', '[email protected]');
# Whether to send an email or not
Config::Set('EMAIL_SEND_PIREP', true);
# This is email to specifically send email sent error to, such
# as failure notices with an invalid email or something
# If blank, it'll default to the "from" email that's specified
Config::Set('EMAIL_RETURN_PATH', [email protected]');

Email Address Settings from cpanel

Secure SSL/TLS Settings
(Recommended)
Username: [email protected]
Password: Use the email account’s password.
Incoming Server: cp-in-13.wxxxxxxxx.net
IMAP Port: 993
POP3 Port: 995
Outgoing Server: cp-in-13.wxxxxxxxx.net
SMTP Port: 465
Authentication is required for IMAP, POP3, and SMTP.

Entry from admin panel

Webmaster Email Address
ADMIN_EMAIL
[email protected]
This is the email address that email will get sent..
# Add multiple SMTP servers by separating them with ;
Config::Set('EMAIL_SMTP_SERVERS', 'cp-in-13.webxxxxxx.net');
Config::Set('EMAIL_SMTP_PORT', '465');
Config::Set('EMAIL_SMTP_USE_AUTH', true);
Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps
Config::Set('EMAIL_SMTP_USER', '[email protected]');
Config::Set('EMAIL_SMTP_PASS', 'xxxxxxx');

Try changing it to ssl

Add multiple SMTP servers by separating them with ;

Config::Set(‘EMAIL_SMTP_SERVERS’, ‘cp-in-13.webxxxxxx.net’);
Config::Set(‘EMAIL_SMTP_PORT’, ‘465’);
Config::Set(‘EMAIL_SMTP_USE_AUTH’, true);
Config::Set(‘EMAIL_SMTP_SECURE’, ‘ssl’); # must be “ssl” for Google Apps
Config::Set(‘EMAIL_SMTP_USER’, ‘[email protected]’);
Config::Set(‘EMAIL_SMTP_PASS’, ‘xxxxxxx’);

Try changing it to ssl

Its still the same. No email.

what is your mail server ?

The easiest way to fix this is to create an email account with your host and use it for phpvms.