Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Warning message appears when sending email with Outlook
Message
 
 
To
21/11/2001 18:45:53
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00584604
Message ID:
00584775
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform