send mail with MapBasic

المشرف العام

Administrator
طاقم الإدارة
How can i send mail with MapBasic??

I have already tried this code, but it's not working i used SenMail Application

sub send dim cmdstr, subj, msg as string

subj = "Hello from MapInfo-L" ' is the email subject msg = "This is how you use sendemail to send an email" ' is the message text

cmdstr = "sendemail -f example@gmail.com -t example@gmail.com -u " + subj + " -m " + msg run program cmdstr End Sub



أكثر...
 
أعلى