从HTML发送电子邮件而没有默认Outlook [英] sending email from html without default outlook

查看:95
本文介绍了从HTML发送电子邮件而没有默认Outlook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在提交表单时发送电子邮件,而不使用用户电脑中的电子邮件.我想直接从html设置smtp和其他设置.能做到吗?


I would like to send an email when submitting form without using the email from the pc of the user. i would like to set up the smtp and other settings directly from html. can this be done?


function sendMail(_frm) {
    var eml = "emailaddress";
    var bod = form1.fullname + form1.email + form1.regtype;
    var subj = "reg";
    location.href = "mailto:" + eml + subj + bod;
}

推荐答案

检查以下链接

请参考一些类似的线索

如何使用Javascript发送邮件 [
Refer some what similar thread

How to send Mail using Javascript[^]


这篇关于从HTML发送电子邮件而没有默认Outlook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆