9
맨드릴을 사용하여 메일을 보내려고합니다. 문제는 'to'매개 변수에 여러 수신자를 추가하면 'to'목록에있는 모든 수신자와 동일한 메일을 여러 번 보내는 것입니다. 나는 똑같은 메일이 to 목록에있는 모든 사람에게 개별적으로 발송되기를 기대하고 있었다. 내가 놓친 게 있니?REST API를 통해 별도의 메시지로 여러 사람에게 보내는 보조자
{
"key": "app-key",
"template_name": "platform-invite",
"template_content": [
{
"name": "connection",
"content": "<a class=\"mcnButton \" title=\"Lets Go\" href=\"http://someurl\" target=\"_blank\" style=\"font-weight: normal;letter-spacing: normal;line-height: 100%;text-align: center;text-decoration: none;color: #FFFFFF;\">Lets go</a>"
},
{
"name": "mailbody",
"content": "<p>Hi </p>\n<p>I would like you to be a ... Tic tic tic...</p>"
}
],
"message": {
"subject": "My subject line over herer",
"from_email": "[email protected]",
"to": [
{
"email": "[email protected],
"type": "to"
},
{
"email": "[email protected]",
"type": "to"
},
{
"email": "[email protected]",
"type": "to"
},
{
"email": "[email protected]",
"type": "to"
}
],
"merge_vars": {}
},
"async": false,
"ip_pool": "Main Pool"
}
그게 정확히 무엇입니까. 빠른 회신을 주셔서 감사합니다 –
PHP 예제를 보여주십시오. 그 문자열이나 설명과 도움이되지 않습니다. – YumYumYum
그냥 이메일 목록을 공개했습니다. 기본적으로 꺼져 있어야하는 것처럼 보입니다 :-( –