Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email from VFP
Message
De
27/02/2003 16:37:54
Peter Easson
Catalina Trading
Sydney, Australie
 
 
À
26/02/2003 22:10:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Divers
Thread ID:
00758552
Message ID:
00759090
Vues:
17
Hi Bernard,
The best solution I found was with a free dll from http://www.aspemail.com. Go to the download page.
This dll does NOT require any email client to be installed (as with using MAPI). It goes like this.
oMail = CreateObject("Persits.MailSender")
oMail.Host = "yourSMTPServer@somewhere.com"
oMail.FromName = "Bernard Bout"
oMail.From = "bernard@ut.com.au"
oMail.AddAddress("pete@pcprof.com.au","Peter Easson")
oMail.IsHTML = .t.
oMail.Body = "<HTML><BODY BGCOLOR=#0000FF>Hello World</BODY></HTML>"
oMail.Attachment("C:\MYErrorTable.DBF")
oMail.Send
** Check aError()
oMail.Reset and loop again
Unlimited recipients, attachments etc
regards

Peter Easson, Sydney
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform