In his message (thread1251-1104909) jsams asks about generating an email with an attachment using Groupwise. Anymore thoughts about this question?
jsams wrote the following:
Listed below is a short program to create an email with and attachment in a Novell Groupwise 6.5 environment.
It creates and sends the email OK, but I need it to popup the email draft to allow the user to review before sending. What am I missing, or need to change?
oGroupWise = CREATEOBJECT("NovellGroupwareSession")
oAccount = oGroupWise.Login
oWorkfolder = oAccount.WorkFolder
oMessages = oWorkfolder.MESSAGES
oMessage = oMessages.ADD("GW.MESSAGE.MAIL")
oMessage.FromText = ALLTRIM("from@some_dom.com")
oMessage.Subject = ALLTRIM(" My subject line text. ")
oMessage.BodyText = ALLTRIM(" My email body text. ")
oMessage.Attachments.Add("testdoc.pdf")
recip = oMessage.Recipients.Add("to@some_dom.com")
recip.RESOLVE
oMessage.SEND
RELEASE oGroupWise
Thanks,
John
jsams wrote the following:
Listed below is a short program to create an email with and attachment in a Novell Groupwise 6.5 environment.
It creates and sends the email OK, but I need it to popup the email draft to allow the user to review before sending. What am I missing, or need to change?
oGroupWise = CREATEOBJECT("NovellGroupwareSession")
oAccount = oGroupWise.Login
oWorkfolder = oAccount.WorkFolder
oMessages = oWorkfolder.MESSAGES
oMessage = oMessages.ADD("GW.MESSAGE.MAIL")
oMessage.FromText = ALLTRIM("from@some_dom.com")
oMessage.Subject = ALLTRIM(" My subject line text. ")
oMessage.BodyText = ALLTRIM(" My email body text. ")
oMessage.Attachments.Add("testdoc.pdf")
recip = oMessage.Recipients.Add("to@some_dom.com")
recip.RESOLVE
oMessage.SEND
RELEASE oGroupWise
Thanks,
John