1.shareImageBymail
功能
发送图片到163邮箱
定义
WadeMobile.shareImageBymail(param)
参数
参数名称 | 参数类型 | 参数描述 | 参数备注 |
---|---|---|---|
param | DataMap | param包含user:发件人邮箱,password:发件人邮箱密码,receiver:收件人邮箱,subject:主题,body:正文,attachment:图片路径 | 必填 |
范例
var params = new $.DataMap();
params.put("user", $("#mailsender").val());
params.put("password", $("#mailsenderpwd").val());
params.put("subject", "this is the test subject");
params.put("body", "this is the test body");
params.put("receiver", $("#mailReceiver").val());
var uploadFile = $("#uploadFilePath").html();
params.put("attachment", uploadFile);
WadeMobile.shareImageBymail(params.toString());
备注
无