impresspages / ImpressPages

ImpressPages is php framework with admin panel. Build functional website in one hour.
http://www.impresspages.org
Other
501 stars 179 forks source link

`Domain-based Message Authentication` #834

Open jwhardy opened 7 years ago

jwhardy commented 7 years ago

//in the file, /Ip/Internal/Email/Module.php function send() { $mail->From = $email['from']; $mail->FromName = $email['fromName']; $mail->AddReplyTo($email['from'], $email['fromName']); // both From and AddReplyTo have the same name $email['from'] // where I need $mail->From = $email['from']; // to be $mail->From = "web@host.email.address" // and $mail->AddReplyTo("clientofwebsite@client.email.address", $email['fromName']); // this is needed because of Domain-based Message Authentication // can you assist no this matter // I have for now amended function send() { } to meet my needs but I do not how to affect a change that will react direct with web page as presented to client or administrator.

wannaco commented 7 years ago

You should use the SMTP plugin instead of modifying Core files, here is the plugin https://github.com/impresspages-plugins/SMTPConfig/blob/master/Filter.php add the reply-to address with the plugin