CodePudding user response:
Hello, I also just in use, I can be successful email,First make sure that you use, not netease mail because netease mail does not support SMTP, you can try to QQ mailbox, first QQ mailbox, of course, also need to set up open SMTP and POP,
Email has a problem, I am now worry about the shit out of me!
CodePudding user response:
Upstairs: hello, I tried several kinds of email can't, had to use JMAIL. DLL, than mymail. DLL to use much,Sharing:
Jmail. DLL in the application of pb
1, find jmail. DLL in CSDN download, can be found in www.dimac.net,
2, registered jmail. DLL method: in the operation of the input: regsvr32 path \ jmail DLL
3, the sample code:
Oleobject jmail
Jmail=Create OLEObject
Jmail. ConnectToNewObject (" Jmail. The Message ")
Jmail. Charset=ls_charset//Chinese "GB2312
"Jmail. ISOEncodeHeaders=True
Jmail. Silent=True
Jmail. Logging=True
Jmail. From=ls_user//the sender email address
Jmail. FromName=ls_mail_fr//the sender
Jmail. Subject=ls_subject/email/Subject
Jmail. MailServerUserName=ls_user//the sender email login account
Jmail. MailServerPassword=ls_pwd//send a mailbox user password
Jmail. Priority=3//Priority
Jmail. AddRecipient (ls_mail_to)//recipient mailbox
Jmail. Body=ls_Text + content//mail ~ r ~ n
IF Jmail. Send (ls_host) THEN//ls_host to Send a mail server
Messagebox (" Info ", "to send success!" )
The ELSE
Messagebox (" Info ", "send failed!" )
END the IF
Jmail. Close ()
Destroy Jmail
CodePudding user response:
Hello, I am now need to email, could you tell me the JMAIL email with no, because I saw on the Internet is how much do you charge for email, if you have email function, can provide a copy to me? Thank you, my E-mail is 313789480 @qq.comCodePudding user response:
Go to www.dimac.net to download w3_jmail4_cn. PDF (Chinese version), have jmail. DLL detailed usage,CodePudding user response:
If there is any component interfaces and attributes, to send a 31616674 @qq.com