Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send attachments
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
How to send attachments
Divers
Thread ID:
00940547
Message ID:
00940547
Vues:
62
Hi all,
I'm using Winsock in WS2_32.DLL to send emails and works so far so good.
It is simple and very convenient to use in VFP that no extra setup
required on user's machine. But this is only good for text message mail.
I can't send change its property to send HTML mail and also attachments.
Do you know to modify or any other better tools? Pls help. Thanks!

Below are some parts of codes of this control:

THIS.snd("HELO", .T.)
THIS.snd("MAIL FROM:" + THIS.sender, .T.)
THIS.snd("RCPT TO:" + THIS.recipient, .T.)
THIS.snd("DATA", .T.)
THIS.snd("Date: " + SendDate(), .T.)
THIS.snd("From: " + THIS.sendername + " " + THIS.sender)
THIS.snd("To: " + THIS.recipientname + " " + THIS.recipient)
THIS.snd("Subject: " + THIS.subject)
THIS.snd("")
THIS.snd(THIS.body)
THIS.snd(".", .T.)
THIS.snd("QUIT", .T.)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform