Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending mails through GroupWise with attachment
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00542261
Message ID:
00552031
Vues:
63
This message has been marked as the solution to the initial question of the thread.
Hello Nadya and Sandy,

Thanks for the code snippet, worked OK but I streamlined it abit. I am using

=GW('RPierce@Smooth-On.com','SUBJECT HERE','TEXT MESSAGE HERE ','C:\PICT.JPG')

PROCEDURE GW
LPARAMETERS cSendTo,cSubject,cMessage,cAttachment
oGW=CREATEOBJECT('NovellGroupwareSession')
oMsg=oGW.Login.RootFolder.Messages.Add
oMsg.Subject=cSubject
oMsg.BodyText=cMessage
oMsg.Attachment.Add(cAttachment)
oMsg.Recipients.Add(cSendTo,'NGW','0')
oMsg.Send
RELEASE oGW

If you look on Novell's site using 'NovellGroupwareSession' as a search you get some relevant stuff with examples with tons of code, boils down to the above and works well for me.

Thanks Sandy
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform