使用HTML代码创建SMTP服务

时间:2018-07-01 22:42:03

标签: html5 smtp

我希望此代码发送邮件,现在当我单击它时它什么也没做。我发现我需要设置SMTP服务器,但我做不到,请帮帮我,

更清楚地说,我想要的是,发给我公司的客户的信息,该客户进入我的网站来填写表格并单击“发送”,然后,将包含表格详细信息的邮件发送到公司电子邮件这样我们就可以帮助客户满足其需求。

我会添加表格的图像,但是我还不允许,对不起!

整个表单的代码为:

div class="row row-centered">
<div class="col-xs-12 col-sm-10 col-md-8 col-lg-6 col-centered">
    <div class="panel panel-default accountContainer">
        <div class="panel-body">
            <form id="Form">
                <div class="row" ng-if="!settings.UserInfo.isAuthenticated">
                    <div class="col-md-6 col-sm-6 col-xs-6">
                        <div class="form-group">
                            <label><h4><b>Nome:</h4></b></label>

                            <input type="text" name="name" class="form-control">
                        </div>
                    </div>
                    <br>
                    <div class="col-md-6 col-sm-6 col-xs-6">
                        <div class="form-group">
                            <label><h4><b>Endereço de e-mail:</h4></b></label>

                            <input type="text" name="mail" class="form-control">
                        </div>
                    </div>
                    <br>
                </div>
                <div class="row">
                    <div class="col-md-12">
                        <div class="form-group">
                            <label><h4><b>Titulo (Assunto):</h4></b></label>

                            <input type="text" class="form-control">
                    </div>
                </div>
                <br>
                    <div class="col-md-6 col-sm-6 col-xs-6">
                        <div class="form-group" style="margin-top:10px;">
                            <label><h4><b>Categoria do Problema:</b></h4></label>

                            <select placeholder="Select a Type" name="TicketType" class="form-control">
                                <option value="enabled">Selecione aqui...</option>
                                <option>Hardware</option>
                                <option>Software</option>
                                <option>Fazer Encomenda</option>
                                <option>Problemas com a encomenda</option>
                                <option>Entrega de encomenda</option>
                                <option>Devoluções</option>
                                <option>RMA</option>
                                <option>Outros</option>

                            </select>
                            <div class="help-block">
                        </div>
                    </div>
                </div>
                <br>
                <div class="row">
                    <div class="col-md-12">
                        <div class="form-group" style="margin-top:10px;">
                            <label><h4><b>Descrição do Problema/Encomenda:<h4></b></label>

                            <textarea placeholder="Escreva aqui..." cols="70" rows="8" maxlength="500"></textarea>
                            <br><br>
                                <form action="mailto:maildaempresa@qualquercoisa.com" method="GET">
                                    <input type="submit" value="Enviar" style="background-color: orange">
                                </form>
                        </div>
                    </div>
                </div>

0 个答案:

没有答案