简体   繁体   中英

Sending email with silent Subject

Is there a way to send silent subject in email that can not be modified by the sender?

<div class="col-md-11">
 <a href="mailto:support@support.com?subject=Subject 
          For Email&body=This email is from person or unknown user">E-mail
 </a>
 <p>
    <small>If you have questions, please send requests 
           via e-mail to support team: 
    <a href="mailto:support@support.com?subject=Subject For 
       Email&body=This email is from person or unknown user">
       support@support.com
    </a>
    </small>
 </p>
</div>

href="mailto:support@support.com?subject=Subject For 
      Email&body=This email is from person or unknown user"

this will give me the mail to in email field and subject in subject field and even text in body but I wonder about the silent subject in the email.

Email structure is described in RFC 2822 .

There is no such thing as "silent subject" in email fields, so you can use only usual subject field.

mailto URI scheme forces your link to be opened as email in default mail client on user's computer. And there is no "universal" way to prevent any mail client from changing that field.

So you can't send your mails in the way you've described.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM