Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Warning message appears when sending email with Outlook
Message
 
 
À
21/11/2001 18:45:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00584604
Message ID:
00584775
Vues:
28
It only supports 1 attachment. FYI, THIS refers to a FORM in the code below. This is what I have in one of my automated e-mail apps:
oMail = NewObject("wwIPStuff", "wwIpStuff.vcx")
with oMail
   .cMailServer   = alltrim(This.cboMailServer.DisplayValue)
   .cUserName     = alltrim(This.cboSenderEmail.Value)
   .cPassword     = alltrim(This.txtPassword.Value)
   .cSenderEmail  = lcSenderEmail
   .cSenderName   = lcSenderName
   .cSubject      = alltrim(This.txtSubject.Value)
   .cMessage      = This.edtMessage.Value
   .cAttachment   = This.txtAttachment.Value
   .cRecipient    = alltrim(This.cboRecipient.DisplayValue)
   .cCCList       = alltrim(This.cboCCRecipient.DisplayValue)
   .cBCCList      = alltrim(This.cboBCCRecipient.DisplayValue)
   llResult = .SendMail()         && Send - wait for completion
   if !llResult
      This.cErrorMessage = .cErrorMsg
      llResult = .f.
   endif
endwith
oMail = .null.
To send to multiple recipients, just separate them with a comma.

>I've downloaded it, can you give me some code to send an e-mail with two "TO", one "CC", Subject, Body and 2 attachments?
>
>
>TIA,
>
>Luis
>>
>>Check out wwIPStuff from West Wind. You can find it at www.west-wind.com. It will allow you send automated emails without using outlook at all (and it is faster than using Outlook).
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform