im need know how i used pop3 with smtp sender VB.NET 2008 -
im need know how used pop3 smtp sender vb.net 2008
i have problem when put smtp yahoo , account user , password tell me failure sending mail.
so plz im need
here 1 way send smtp mail vb.net. axmsmapi.axmapi.session , axmsmapi.axmapi.messages vb6 compatibility controls, believe. requires mapi email client on user's system, such outlook.
try mapisession1.signon() mapimessages1.sessionid = mapisession1.sessionid mapimessages1.compose() mapimessages1.msgnotetext = "message text" mapimessages1.attachmentpathname = currentpicpath mapimessages1.attachmentname = path.getfilename(currentpicpath) mapimessages1.attachmenttype = 0 mapimessages1.send(true) mapisession1.signoff() catch ex exception msgbox("warning: email not sent. " & ex.message, msgboxstyle.okonly) end try
Comments
Post a Comment