'VB版
Private Declare Function icePub_sendMailText Lib "icePubDlldll" (ByVal strusername As String, ByVal strPassword As String, ByVal strSmtpServer As String, ByVal sendMail As String, ByVal toMailList As String, ByVal strSubject As String, ByVal strText As String) As Integer
a2 = icePub_sendMailText("ahuinuli", "112233", "smtptomcom", "ahuinuli@tomcom", "42080286@qqcom", "标题test4", "文本hello4")
//VC版
{
// TODO: Add your control notification handler code here
char buff[102430+1];
typedef int (WINAPI RECEIVEMAILTEXT)(char strUsername,char strPassword,char strSmtpSever,char strMailText,int TextMaxLen,char strFenge,int deleteFlag);
RECEIVEMAILTEXT icePub_receiveMailText = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDlldll");
if(hDLLDrv)
{
icePub_receiveMailText = (RECEIVEMAILTEXT )GetProcAddress(hDLLDrv, "icePub_receiveMailText");
}
icePub_receiveMailText("bigshuye","12345678","poptomcom",buff,102430,"\r\n\r\n",0);
AfxMessageBox(buff);
}
以上就是关于网上找了个SMTP邮件源码,收件人为139邮箱,手机提醒时正文内容只有“text/html”,怎么回事全部的内容,包括:网上找了个SMTP邮件源码,收件人为139邮箱,手机提醒时正文内容只有“text/html”,怎么回事、、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)