package com.cc.test;
import java.util.ArrayList;
import java.util.List;
import com.cc.webpower.DMdeliverySoapAPIClient;
import com.cc.webpower.DMdeliverySoapAPIPort;
import com.dmdelivery.webservice.AddRecipientsResultType;
import com.dmdelivery.webservice.ArrayOfIntType;
import com.dmdelivery.webservice.DMdeliveryLoginType;
import com.dmdelivery.webservice.NewGroupType;
import com.dmdelivery.webservice.NewRecipientType;
import com.dmdelivery.webservice.RecipientNameValuePairType;
import com.dmdelivery.webservice.RecordResultType;
public class Test {
public static void main(String[] args) {
DMdeliverySoapAPIClient client = new DMdeliverySoapAPIClient();
try {
DMdeliverySoapAPIPort service = client.getDMdeliverySoapAPIPort();
DMdeliveryLoginType login = new DMdeliveryLoginType();
login.setUsername("liuxiaoyong");
login.setPassword("");
int campaignId=4;//活动ID(平台里面需要新建一个活动) 4:代表系统邮件
R
调用webpowerAPI实现邮件发送功能(系统邮件一对一发送)
最新推荐文章于 2024-07-31 13:18:14 发布
本文档介绍了如何调用WebPower的API来实现系统级别的邮件一对一发送功能,详细阐述了整个过程,包括配置、参数设置和实际发送操作。
摘要由CSDN通过智能技术生成