okey i found out it is somthing here
$return_path_email = Config::Get('EMAIL_RETURN_PATH');
if(Config::Get('EMAIL_SMTP_USE_AUTH') == true)
if($return_path_email == '') {
$return_path_email = $fromemail;
{
$mail->SMTPAuth = Config::Get('EMAIL_SMTP_USE_AUTH'); // <- this line needs to be added
$mail->Username = Config::Get('EMAIL_SMTP_USER');
$mail->Password = Config::Get('EMAIL_SMTP_PASS');
$mail->SMTPSecure = Config::Get('EMAIL_SMTP_SECURE');
}
Vangelis said a while ago this
In order to send authenticated SMTP email over TLS, you need the following in your local.config.php (bug fix!):
Config::Set('EMAIL_USE_SMTP', true);
// Add multiple SMTP servers by separating them with ;
Config::Set('EMAIL_SMTP_SERVERS', 'smtp.example.com');
Config::Set('EMAIL_SMTP_PORT', '25'); // or 587
Config::Set('EMAIL_SMTP_USE_AUTH', true);
Config::Set('EMAIL_SMTP_USER', 'yourname@example.com');
Config::Set('EMAIL_SMTP_PASS', 'p4ssword');
Config::Set('EMAIL_SMTP_SECURE', 'tls');
Then, open up /core/classes/Util.class.php, scroll to line 257 and add in that code block:
if(Config::Get('EMAIL_SMTP_USE_AUTH') == true)
{
$mail->SMTPAuth = Config::Get('EMAIL_SMTP_USE_AUTH'); // <- this line needs to be added
$mail->Username = Config::Get('EMAIL_SMTP_USER');
$mail->Password = Config::Get('EMAIL_SMTP_PASS');
$mail->SMTPSecure = Config::Get('EMAIL_SMTP_SECURE');
}
I already tried this now first i didnt get error msg but since it did go to fast before the mail was sendt i begin to think and yeah it was wrong i posted in the code again now i got error msg on line 313 and 316 so but since it is already somthing on line 257 im abit worried about is gonna move the info from that line and down are i gonna delete everything on that line and under that have something to do with line 257 or im gonna place abit under the line 257 and somthing that have somthing to do with line 257 thank you and so if someone could say how and where i gonna put it would be great since not so much php experince