简体   繁体   中英

Sending a HTML E-mail through outlook

So i've prepared a simple accept/reject email:

<!DOCTYPE html>
<html>
<head>
    <title>Accept or Reject</title>
</head>
<body>

    <table align="center">  
        <tr>
            <td>
                <form method="post" action="mailto:EMAILADD?subject=I%20Accept&body=I%20would%20like%20to%0D%0AAccept">
                    <input type="submit" value="Accept"> 
                    </input> 
                </form>
            </td>
            <td>
                <form method="post" action="mailto:EMAILADD?subject=I%20Reject&body=I%20would%20like%20to%0D%0AReject">
                    <input type="submit" value="Reject"> 
                    </input> 
                </form>
            </td>
        </tr>
    </table>

</body>
</html>

Issue i'm having is getting it to send in outlook. I go to send a new e-mail > Attach file > (find html file) > Insert As Text.

Appears ok but when I send the e-mail is blank.

First time doing this would appreciate the help, thanks in advance.

Both comments are correct - add some additional content to verify that this is the issue. Something like

<h2>Testing Email</h2>

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