Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending email from VFP
Message
 
To
28/06/2005 09:03:32
Barbara Hill
B.L. Hill Applications Limited
Halifax, Nova Scotia, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01026979
Message ID:
01027109
Views:
15
Hello Barbara

I use the Groupwise API which installs with Groupwise (any machine with groupwise can use this). This way the emails show up in your sent items, and can be replied to easily. It is sent using the current Groupwise user.

oGW=CREATEOBJECT('NovellGroupwareSession')
oMsg=oGW.Login.RootFolder.Messages.Add
oMsg.Subject='xxxx'
oMsg.BodyText='xxxx'
oMsg.Recipients.Add('xxxx@xxxx')
oMsg.Attachments.Add('xxxx.xxx')
oMsg.Send
RELEASE oGW

Obviously simplified, can add multiple receipients/attachments and data can be pulled easily from fox.

Bob


>Hi,
>
>I have a client running a VFP6 app on a Novell network. They want to be able to select clients from the VFP app and send them email with attachments. These email addresses are in the VFP database. They use Groupwise for their email.
>They do not want these email addresses in Groupwise.
>
>They have the client selection form already in place for other purposes and now would like to use it to send email. I have used SMTPWizard successfully at other sites but they did not use Groupwise.
>
>Any suggestions as to the best approach to this problem? Can I avoid Groupwise or is it best to work with it if possible?
>
>Thanks
>
>Barb
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform