2014-08-30 107 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