Jump to content

[SOLVED]Email Problem


ShrikarG

Recommended Posts

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 "noreply@xxxxxxx.com" (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', 'noreply@xxxxxx.com');
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', 'noreply@xxxxxx.com');
Config::Set('EMAIL_SMTP_PASS', 'xxxxxxx');
# Set specific email addresses to send notifications to
Config::Set('EMAIL_NEW_REGISTRATION', 'noreply@xxxxxx.com');
Config::Set('EMAIL_NEW_PIREP', 'noreply@xxxxxx.com');
# 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', noreply@xxxxxx.com');

Email Address Settings from cpanel

Secure SSL/TLS Settings
(Recommended)
Username: noreply@xxxxxx.com
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
noreply@xxxxxx.com
This is the email address that email will get sent..

Edited by shrikar
Link to comment
Share on other sites

  • Members

# 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', 'noreply@xxxxxx.com');
Config::Set('EMAIL_SMTP_PASS', 'xxxxxxx');

Try changing it to ssl

Link to comment
Share on other sites

# 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', 'noreply@xxxxxx.com');
Config::Set('EMAIL_SMTP_PASS', 'xxxxxxx');

Try changing it to ssl

Its still the same. No email. :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...