Problem SOLVED!
Solution: Modified the Email.php file in system/modules/core/library/Contao and forced the SENDER of the email to what I want it to be like this:
Code:
/*// Add the administrator e-mail as default sender
if ($this->strSender == '')
{
list($this->strSenderName, $this->strSender) = \String::splitFriendlyEmail(\Config::get('adminEmail'));
}
// Sender
if ($this->strSenderName != '')
{
$this->objMessage->setFrom(array($this->strSender=>$this->strSenderName));
}
else
{
$this->objMessage->setFrom($this->strSender);
}*/
$this->objMessage->setFrom('email@example.com');
Attention: The part above the bold line of code is commented!
Bookmarks