Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
mandrill发送电子邮件javascript错误_Javascript_Html_Email_Send_Mandrill - Fatal编程技术网

mandrill发送电子邮件javascript错误

mandrill发送电子邮件javascript错误,javascript,html,email,send,mandrill,Javascript,Html,Email,Send,Mandrill,我读了很多页来解决我的问题 这是我的密码 $.ajax({ type: "POST", url: "https://mandrillapp.com/api/1.0/messages/send.json", data: { 'key': 'KEY', 'message': { 'from_email': 'MAIL', 'to': [ {

我读了很多页来解决我的问题

这是我的密码

$.ajax({
    type: "POST",
    url: "https://mandrillapp.com/api/1.0/messages/send.json",
        data: {
        'key': 'KEY',
        'message': {
            'from_email': 'MAIL',
            'to': [
                {   
                    'email': 'MAIL',
                    'type': 'to'
                }
            ],  
                'autotext': 'true',
                'subject': 'YOUR SUBJECT HERE!',
                'html': 'YOUR EMAIL CONTENT HERE! YOU CAN USE HTML!'
        }   
  }
 }).done(function(response) {
console.log(response); // if you're into that sorta thing
      }); 
我在标题中也有这样的代码

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>

但是,当我运行此代码时,日志显示电子邮件地址未签名,因此被拒绝。我正在制作一个不允许其他人无法连接的学校网页

我需要核实还是做点什么