If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Visual FoxPro - Outlook 2000 - sending faxes
Dear all
Wonder whether any of you can help. We send faxes using Visual FoxPro 8 using the outlook.application object. Since updating to version 8 of Visual FoxPro the faxes get stuck in the Outbox and the only way to send them is to come out of Outlook and then go back in again. It only happens in Outlook 2000. Here is my code oOutlook = CREATEOBJECT("Outlook.Application") oEmailItem = oOutlook.GetNameSpace("MAPI") oMessage = oEmailItem.GetDefaultFolder(4) oNewMessage = oMessage.items.add() WITH oNewMessage .Recipients.add('[FAX:' + ALLTRIM(m.FaxNumber) + ']') .Attachments.Add(ALLTRIM(m.Attachment)) IF thisformset.Preview .display(.t.) ELSE .Send() ENDIF ENDWITH Kind regards David Anagram Systems 28/11/2005 16:59:38 |
#2
|
|||
|
|||
Visual FoxPro - Outlook 2000 - sending faxes
Might want to try one of the programming groups. Not sure anyone who can
help will see it here. -- Russ Valentine [MVP-Outlook] "David" wrote in message ... Dear all Wonder whether any of you can help. We send faxes using Visual FoxPro 8 using the outlook.application object. Since updating to version 8 of Visual FoxPro the faxes get stuck in the Outbox and the only way to send them is to come out of Outlook and then go back in again. It only happens in Outlook 2000. Here is my code oOutlook = CREATEOBJECT("Outlook.Application") oEmailItem = oOutlook.GetNameSpace("MAPI") oMessage = oEmailItem.GetDefaultFolder(4) oNewMessage = oMessage.items.add() WITH oNewMessage .Recipients.add('[FAX:' + ALLTRIM(m.FaxNumber) + ']') .Attachments.Add(ALLTRIM(m.Attachment)) IF thisformset.Preview .display(.t.) ELSE .Send() ENDIF ENDWITH Kind regards David Anagram Systems 28/11/2005 16:59:38 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2000 to Outlook 2003 Issues | CommonLor | General Discussion | 4 | November 27th, 2005 03:14 AM |
Outlook 2000 Contacts to Address Book sort order | Army Man | Contacts | 3 | October 13th, 2005 02:54 AM |
POP Forwarding Question | raphnguyen | General Discussion | 8 | October 7th, 2005 03:56 PM |
Outlook 2003 and SP2 | Martin Racette | General Discussion | 12 | October 5th, 2005 03:20 AM |
Office 2000 Upgrade to Outlook 2003, reinstall occurs of Outlook 2 | Dave | Installation & Setup | 4 | September 22nd, 2005 08:40 PM |