1
Good afternoon. I will use Phpmailer, but I am not able to send using variables.
Behold:
$mail->CharSet = "text/html; charset=UTF-8;";
$mail->IsHTML(true);
$mail->msgHTML(file_get_contents('proposta.php?id='.$_GET["id"].''), dirname(__FILE__));
I need that file proposta.php
receive the proposal ID.
Error:
Warning: file_get_contents(proposta.php?id=17): failed to open stream: Resource temporarily unavailable
How is it possible to do this?
I edited the question, because the problem is not with phpmailer
– Guilherme Nascimento