mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-15 08:34:11 +03:00
use new settings db to send email
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@118 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
0ebad2dda7
commit
96519f6158
@ -44,10 +44,14 @@ if( count($errors) > 0 ) {
|
||||
}
|
||||
|
||||
$subject = getstring2_("leavemail.subject", array($visitor_name), $webim_messages_locale);
|
||||
$body = getstring2_("leavemail.body", array($visitor_name,$email,$message), $webim_messages_locale);
|
||||
$body = getstring2_("leavemail.body", array($visitor_name,$email,$message), $webim_messages_locale);
|
||||
|
||||
webim_mail($webim_messages_mail, $email, $subject, $body);
|
||||
loadsettings();
|
||||
$inbox_mail = $settings['email'];
|
||||
|
||||
if($inbox_mail) {
|
||||
webim_mail($inbox_mail, $email, $subject, $body);
|
||||
}
|
||||
|
||||
start_html_output();
|
||||
require('view/chat_leavemsgsent.php');
|
||||
|
Loading…
Reference in New Issue
Block a user