phpmailer body with variables
<p>I'm trying to implement "forgotten pass" php script which generate new password and simply send email to the user. Its all good until the moment that i'm trying to send the new password to the user. I cant include this variable in the body of the email.
I get an error on the line:</p>

<pre><code>$mail-&gt;body = "The new password is "$newpass"."
</code></pre>

<p>In my browser im getting</p>

<pre><code>Parse error: syntax error, unexpected '$newpass' (T_VARIABLE) 
</code></pre>

<p>I know im missing something, but really dont know what...
Any suggestions would be more than welcome </p>

<p>Regards</p>
