I installed recently PHPMailer, because of not being able to send without it.
Now I have another problem: I want to send an email with an invent one, for example, "no-reply@my-domain.com". I don't seem to be able to do it. when I send with Sendmail, it just won't send, and if I use SMTP with autentication, it sends with my email.

```
require "../PhpMailer/PHPMailerAutoload.php";
$mail = new PHPMailer;

$mail->isSMTP();
$mail->SMTPDebug = 2;
$mail->Debugoutput = 'html';
$mail->Host = 'smtp.gmail.com';
$mail->Port = 587;
$mail->SMTPSecure = 'tls';
$mail->SMTPAuth = true;
$mail->Username = "marcelo43@gmail.com";
$mail->Password = "My Password";
$mail->setFrom('no-reply@my-domain.com','MyDomain Admin');
$mail->addAddress('to@gmail.com','To');
$mail->Subject = "Test";
$mail->msgHTML('My message');
if(!$mail->send())
    echo 'Could not send email';
else
    echo 'Email succesfully sent';

```

This just sends an email to "to@gmail.com" with "MyDomain Admin" as the name and "marcelo43@gmail.com" as its email.
What do I need to do to send with the email "no-reply@my-domain.com"?