Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email from VFP App Using Groupwise

Status
Not open for further replies.

Shanachie

Programmer
Jun 18, 2000
92
US
I have a Visual FoxPro application for a client using Novell's Groupwise 5.2.3. We want to send email from within the application. With MS Outlook, the code is a piece of cake, looks like this (from another thread on this forum):

#DEFINE MAIL_MESSAGE 0

oApp = createobject("Outlook.Application")
oMail = oApp.CreateItem(MAIL_MESSAGE)
with oMAil
.to = "JoeSchmoe@nowhere.com"
.cc = "JoeSchmoesBoss@nowhere.com"
.bcc = "JoeSchmoesWife@nowhere.com"
.subject = "This is the subject"
.body = "This is the body"
.send()
endwith

I'm completely new to GW but there's GOT to be a similar way to do this.

TIA
Shanachie
 
Hi Shanachie,

IF Groupwise is set as the client's default mail application, you can use MAPI to transmit the email.

I would recommend downloading Nigel Coates's MAPI Mail class from It is found in the Files\Classes section. I believe it's file #1034.

Also, if Groupwise is not your clients default mail application, you can download a patch to set it as default from Jon Hawkins
jonscott8@yahoo.com

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top