ShrikarG Posted September 29, 2016 Report Posted September 29, 2016 (edited) 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 October 4, 2016 by shrikar Quote
Members Vangelis Posted September 29, 2016 Members Report Posted September 29, 2016 # 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 Quote
ShrikarG Posted September 29, 2016 Author Report Posted September 29, 2016 # 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. Quote
Members Vangelis Posted September 30, 2016 Members Report Posted September 30, 2016 what is your mail server ? Quote
Moderators Parkho Posted October 3, 2016 Moderators Report Posted October 3, 2016 The easiest way to fix this is to create an email account with your host and use it for phpvms. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.