i'm trying to set up the verification mail and password recovery via mail system in fluxcp, no luck so far
ive tried several things including setting 'MailerUseSMTP' = false
i tried using SSL option since i have SSL installed but nothing changes
i read a few topics about this but i think i have the right configuration... yet it is not working
when trying to send confirmation the page says "Could not send e-mail please contact administration..." etc.
these are my configs, this is not google mail and i can confirm that is my correct smtp host since i use it for other things like forums, etc, and works just fine
'AllowDuplicateEmails' => true, // Whether or not to allow duplicate e-mails to be used in registration. (See Mailer config options)
'RequireEmailConfirm' => true, // Require e-mail confirmation during registration.
'RequireChangeConfirm' => true, // Require confirmation when changing e-mail addresses.
'EmailConfirmExpire' => 48, // E-mail confirmations expire hours. Unconfirmed accounts will expire after this period of time.
'PincodeEnabled' => false, // Whether or not the pincode system is enabled in your server. (Check your char_athena.conf file. Enabled by default.)
'MailerFromAddress' => 'noreply@localhost', // The e-mail address displayed in the From field.
'MailerFromName' => 'Server', // The name displayed with the From e-mail address.
'MailerUseSMTP' => true, // Whether or not to use a separate SMTP server for sending mail.
'MailerSMTPUseSSL' => false, // Whether or not mailer should connect using SSL (yes for GMail).
'MailerSMTPUseTLS' => false, // Same as above SSL setting, but for TLS. This setting will override the SSL setting.
'MailerSMTPPort' => 25, // When MailerUseSMTP is true: SMTP server port (mailer will default to 25).
'MailerSMTPHosts' => 'mail.server.com', // When MailerUseSMTP is true: A string host or array of hosts (e.g., 'host1' or array('host1', 'backuphost')).
'MailerSMTPUsername' => 'username', // When MailerUseSMTP is true: Authorized username for SMTP server.
'MailerSMTPPassword' => 'password', // When MailerUseSMTP is true: Authorized password for SMTP server (for above user).
the debug mode shows this error
Notice: Accessing static property Flux_Mailer::$errLog as non static in /var/www/html/lib/Flux/Mailer.php on line 21
Notice: Accessing static property Flux_Mailer::$log as non static in /var/www/html/lib/Flux/Mailer.php on line 22
Warning: stream_socket_enable_crypto(): Peer certificate CN=`ssl0.host.net' did not match expected CN=`mail.server.com' in /var/www/html/lib/phpmailer/class.smtp.php on line 368
Question
drifterxxxx2
Hi
i'm trying to set up the verification mail and password recovery via mail system in fluxcp, no luck so far
ive tried several things including setting 'MailerUseSMTP' = false
i tried using SSL option since i have SSL installed but nothing changes
i read a few topics about this but i think i have the right configuration... yet it is not working
when trying to send confirmation the page says "Could not send e-mail please contact administration..." etc.
these are my configs, this is not google mail and i can confirm that is my correct smtp host since i use it for other things like forums, etc, and works just fine
'AllowDuplicateEmails' => true, // Whether or not to allow duplicate e-mails to be used in registration. (See Mailer config options) 'RequireEmailConfirm' => true, // Require e-mail confirmation during registration. 'RequireChangeConfirm' => true, // Require confirmation when changing e-mail addresses. 'EmailConfirmExpire' => 48, // E-mail confirmations expire hours. Unconfirmed accounts will expire after this period of time. 'PincodeEnabled' => false, // Whether or not the pincode system is enabled in your server. (Check your char_athena.conf file. Enabled by default.) 'MailerFromAddress' => 'noreply@localhost', // The e-mail address displayed in the From field. 'MailerFromName' => 'Server', // The name displayed with the From e-mail address. 'MailerUseSMTP' => true, // Whether or not to use a separate SMTP server for sending mail. 'MailerSMTPUseSSL' => false, // Whether or not mailer should connect using SSL (yes for GMail). 'MailerSMTPUseTLS' => false, // Same as above SSL setting, but for TLS. This setting will override the SSL setting. 'MailerSMTPPort' => 25, // When MailerUseSMTP is true: SMTP server port (mailer will default to 25). 'MailerSMTPHosts' => 'mail.server.com', // When MailerUseSMTP is true: A string host or array of hosts (e.g., 'host1' or array('host1', 'backuphost')). 'MailerSMTPUsername' => 'username', // When MailerUseSMTP is true: Authorized username for SMTP server. 'MailerSMTPPassword' => 'password', // When MailerUseSMTP is true: Authorized password for SMTP server (for above user).
the debug mode shows this error
Notice: Accessing static property Flux_Mailer::$errLog as non static in /var/www/html/lib/Flux/Mailer.php on line 21 Notice: Accessing static property Flux_Mailer::$log as non static in /var/www/html/lib/Flux/Mailer.php on line 22 Warning: stream_socket_enable_crypto(): Peer certificate CN=`ssl0.host.net' did not match expected CN=`mail.server.com' in /var/www/html/lib/phpmailer/class.smtp.php on line 368
any ideas?
thank you
Link to comment
Share on other sites
3 answers to this question
Recommended Posts