Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot Send Mails in Lotus Notes
Message
De
30/05/2001 07:42:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00512321
Message ID:
00512579
Vues:
9
HI


=DDESETOPTION("SAFETY",.F.)
gnChanNum = DDEINITIATE("NOTES", "SENDMAIL")
glExecute = DDEEXECUTE(gnChanNum, "NewMessage")
glExecute=.DDEExecute(gnChanNum, "To STEVEN@BOWSKILLS.FREESERVE.CO.UK")
glExecute=.DDEExecute(gnChanNum, "cc james@brown.freeserve.co.uk")
lcComandToRun='DDEEXECUTE(gnChanNum, '+'"'+ "AttachFile c:\mailme.zip" +'")'
lcComandToRun='DDEEXECUTE(gnChanNum, '+'"AttachFile '+THISFORM.lcFileToSend+'")'
glExecute = DDEEXECUTE(gnChanNum, "Send")
DDETERMINATE(gnChanNum)

This can be used on older and new versions of notes

Notes must be open

you can find out if notes is open by usin the windows API FindWindow()

passing it the notes class name, which is "NOTES"

Cheers

Steven

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform