When I send email through php (phpmailer), I can configure all email parameters, however, I can check that I can do something like this:
<?php
// Excerto do código
$mail = new PHPMailer;
$mail->IsMail();
$mail->IsHTML(true);
$mail->isSMTP();
$mail->SMTPAuth = true;
$mail->Host = 'mail.meudominio.pt';
$mail->Username = '[email protected]';
$mail->Password = 'abc123';
$mail->setFrom('[email protected]', 'pomba gira');
$mail->addReplyTo('[email protected]', 'yahoo guy');
?>
With this, I can send an authenticated email, to anyone, making me go through a 3rd person.
Issue: - Is it possible for my server to force the FROM to be the same as the email that authenticates?