向单个 ExactTarget 订阅者发送电子邮件,无需 TriggeredSend
有一个带有 Web 服务 API 的电子邮件服务 ExactTarget。
有 示例(虽然是 php),用于立即向整个列表发送电子邮件,或者通过触发操作的单个订阅者。
很难找到它的文档,而且我找不到如何在不进行一些触发操作的情况下立即向单个订阅者发送电子邮件的解释。
任何帮助或建议都会很棒。
There is an email service ExactTarget with web service API.
There are samples (in php though) for sending email to whole list instantly, or to single subscriber by triggered action.
It's pretty hard to get in it's documentation, and I couldn't find explanation how to send email to a single subscriber instantly without having some triggering actions.
Any help or advice will be great.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

发布评论
评论(3)
勿忘初心2024-09-05 07:55:58
是的。这可以通过触发发送来完成。
private void SendEmail(string triggeredName, Subscriber subscriber) {
CreateResult[] results;
string requestId;
string status;
var t = new TriggeredSendDefinition { CustomerKey = triggeredName };
t.RefreshContent = true;
t.RefreshContentSpecified = true;
var s = new TriggeredSend { TriggeredSendDefinition = t, Subscribers = new[] { subscriber } };
CreateResult[] r = _client.Create(new CreateOptions(), new APIObject[] { s }, out requestId, out status);
var r2 = (TriggeredSendCreateResult)r[0];
//add your own try/catch, etc
}
浮萍、无处依2024-09-05 07:55:58
~没有更多了~
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我看到的唯一解决方法是创建一个列表,添加单个订阅者并向该列表发送电子邮件,而不是删除列表。
归根结底,它是一项订阅服务,而不是 sendmail。
The only workaround I see is create a list, add single subscriber and send email to that list, than delete list.
In the end it's a subscription service, not a sendmail.