Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email from within VFP
Message
From
27/07/2001 11:53:14
 
 
To
27/07/2001 11:47:20
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00536397
Message ID:
00536477
Views:
8
Hi Gaylen,

Try the alternate syntax, that is, create a Folder object using the NameSpace and MAPI folder and then Add an item to the folder. Check out my article in last years September (or was it October?) VFUG newsletter for syntax.

As to VFP7, at least one person in the FUG has an MSDN Universal subscription and should be able to download and install VFP7 in time for the meeting.

>The emails are actually sent and I can receive the emails on my hotmail account. They just don't show up on the sent listing. I have hot mail attached to outlook so I have my regular email and also hotmail, therefore, I have 2 in boxes, 2 delete listing, 2 sent listing etc. Maybe the hotmail is fouling things up.
>
>
>I'm not sure what we will be doing at our meeting as you always carried the heavy load. Guess we will have to get more organized and each one participate more. Hopefully we will have a copy VFP7 to demo next Wednesday. I am excited about getting it and climb the learning curve. We miss you. Thanks
>
>Thanks Wayne for testing. It could possibly be my Outlook Setup. I may have to reinstall outlook.
>
>Gaylen
>
>
>>Hi Gaylen,
>>
>>How are the Tallahassee FUG folks? I miss you guys.
>>
>>Anyway, Wayne hit upon an important point...mail does not appear in the Sent box until physically sent. If you are testing the app and don't have an active email connection, then the mail will sit in the Outbox folder.
>>
>>
>>
>>>I am using the following code to email from within my application.
>>>
>>>oOUTLOOK= createobject('outlook.application')
>>> omail=oOUTLOOK.createitem(0)
>>> omail.recipients.add('xxx@hotmail.com')
>>> omail.recipients.add('xxxx@hotmail.com')
>>> omail.subject = "Subject"
>>> oAttachment = omail.attachments
>>> oAttachment.add(filename)
>>> omail.body = "body "
>>> omail.display
>>> Release omail
>>> oOUTLOOK = .null.
>>> Release oOUTLOOK
>>>
>>>
>>>The email is sent when they click on send however the email does not appear in the sent item listing.
>>>
>>>Is there any way to get the messages to appear in sent mail or is there some way programatically that will triggers a message back to sender that the email has been received?
>>>
>>>This application will go to over 200 locations supposedly all running outlook 2000 and it would be nice to let the user know that the email was sent.
>>>
>>>Thanks in advance
>>>Gaylen Jungling
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform