フォーム データを入力し、フォームに入力したユーザーに電子メールを生成するスクリプトがあります。電子メールは電子メールの受信者に問題なく送信されますが、画像が表示されません (メールに壊れたリンク アイコンが表示されます)。
届いた電子メールのソース コードを確認したところ、二重引用符の前にバックスラッシュがありました。これを機能させるにはどうすればよいですか?
電子メールのソース コード:
<img src=\"https://amb.cbussuper.com.au/registration-test/images/sig.png\” /><br><br>
PHP コード:
$message = "<html><body>";
$message .= "<b>Thank you for registering for the meeting</b><br>";
$message .= "- Day: 28 October 2014<br>";
$message .= "- Time: 7pm<br><br>";
$message .= "If you have any questions about the meeting please email email@address.com.au<br><br>";
$message .= "Please do not reply - this is an automatically generated email.<br><br>";
$message = stripcslashes($message);
$message .= '<img src="https://website.com.au/registration/images/sig.png" /><br><br>';
$message .= "</body></html>";