Image in Email Subject using PHP
问题 I want to add image like company logo in email subject using php mail function i have added $subject = "<img src=\"https://www.donndraper.com/images/logo.png\" width=\"50px\">"); $header = "From: $email\n Content-Type: text/HTML;"; 回答1: What JerrySeeger was trying to say, in a fairly condescending manner, is that e-mail does not support images in the subject. The SMTP protocol was designed 20 years before HTML was even invented. What you desire is simply not possible. 回答2: You cannot include