2014-08-30 111 views
0

好了,所以我设置DreamFactory我自己的本地运行的副本......这一切工作的托管版本......但是当我尝试使用这样说来发送测试电子邮件我的问题:DreamFactory问题发送电子邮件

{ 
"to": [ 
    { 
     "name": "Demo", 
     "email": "[email protected]" 
    } 
    ], 
    "subject": "Testing SMTP Email Service", 
    "body_text": "I am sending a Test email from my DSP." 
} 

我得到这样的回应:

{ 
    "error": [ 
    { 
     "context": null, 
     "message": "Failed to send to the following addresses:Array\n(\n [0] => [email protected]\n)\n", 
     "code": 500 
    } 
    ] 
} 

在我看来,它尝试使用所有这一切的电子邮件地址,而不是地址本身,我想不通为什么。

回答

0

请尝试升级到DSP的最新版本

我能使用此JSON在我的本地和所有是好的(V 1.7.8):

{ 
    "to": [{ 
     "name": "Demo", 
     "email": "[email protected]" 
    }], 
    "subject": "Testing SMTP Email Service", 
    "body_text": "I am sending a Test email from my DSP." 
} 

如果它给升级后的另一个问题,请让我知道。

感谢,

马克

+0

你是怎么设置你的电子邮件服务开始? – dream3r 2014-09-19 19:01:40