简体   繁体   中英

Send E-mail automaticly with html

I want to send E-mail to someone@gmail.com I tried:

<a href="mailto:someone@gmail.com">send E-mail</a>

and it opens Email application which I don't want to. I want to send E-mails automaticly without opening E-mail application itself. How to do that?

you can't Send E-mail automaticly with html But

Try using php:

<?php
    
    
          $msg = "Maggage";
          $msg = wordwrap($msg,70);
          mail("someone@example.com","My subject",$msg);
    
    ?>

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