2017-04-13 43 views
1

我“米试图让SparkPost设置为我的网站,但保留遇到的问题。我在发送正确的头,所以我知道这是个问题,并敢肯定这件事情跟我的JSON的身体。SparkPost电子邮件不发送

这是我张贴到端点:https://api.sparkpost.com/api/v1/transmissions?num_rcpt_errors=3

{ 
    "content": { 
     "from":{ 
     "name":"Testing Email", 
     "email":"[email protected]" 
     }, 
     "subject": "Thundercats are GO!!!", 
     "text": "Sword of Omens, give me sight BEYOND sight" 
    }, 
    "recipients": [ 
     { 
      "address": { 
       "email": "[email protected]" 

      } 
     } 
    ] 
} 

从上述的回应是这样的:

{ 
    "results": { 
    "total_rejected_recipients": 0, 
    "total_accepted_recipients": 1, 
    "id": "hidden" 
    } 
} 

我不知道这可能是导致我不要发送,因为据我所知,我已经遵循了关于文档的每一条准则。

回答

1

原来的电子邮件正在发送,他们只是打我的垃圾邮件框。我最终设置了ip_poolsa_shared并解决了我的问题。

+0

检查这些的理想场所是消息事件(ui/api)。 – HungryCoder