So far, this seems to work for me in Outlook 2007, so I will try in 2010 with MS Exchange
** gcSendAccount is my chosen address
** TempMsg.DBF has the recipient email address(es) in a field called EmailBox
* and another memo for the Msg_Body - can change to HTMLBody instead of just Body
**...
Good afternoon
I have a bit more info. The company has Microsoft Exchange and Outlook 2010 / Office 365
Their central email account is only set up on one computer but the other users now have the permissions to send from the central account. The address appears in the email message from /...
Hi Olaf
Thank you for your response. I must remember to use FOR EACH, as it does make a difference in many object collections
Using your code the subject line shows correctly but it still doesn't work on SendUsingAccount. I know this works for some.
I might just remove office and start again...
Hi nigelgomm
I do cycle thru the accounts to match to a parameter in a control file. Also set oAccount object instead of applying from Outlook object call - but it makes no difference. I just shortened the code sample for the thread.
Still, thank you all the same.
All the best
Karen
...oNamespace.LogOn('proname2',,.F.,.F.)
oMailFolder = oNamespace.GetDefaultFolder(6) && Inbox
oItem = myOLApp.CreateItem(olMailItem)
**.. usual bits for body, attachments etc
* i = cycle thru the accounts to match by parameters
oItem.Subject=myOLApp.Session.Accounts.Item(i).DisplayName &&...
Hiya
Just a quick note. I was looking at how to send latitude / longitude with job locations.
There are lots of suggestions involving Google, Yahoo and other mapping services, including thread184-1708343 - but I came across this list today that gives the latitude and longitude for the first...
Hi
I have already laid down the basics for what I need - but this download looks interesting and could well be useful as the number of emails increases.
I came across this earlier, OUTLOOK AUTOMATION PART 3 http://www.foxite.com/articles/read.aspx?id=73&document=outlook-automation-part-3 -...
Hi Olaf
I really must stop over-complicating things and trying the hard route first.
I have decided to use Outlook after all, just to simplify and move this forward.
I can set up rules in Oulook to filter certain messages into a sub-folder of the Inbox, where they can be processed from VFP...
Hi. Thanks, Olaf
That link points to one of the pages that I have used for reference. I tried both the subclass and form methods but had an unknown object type error on the connect part...
Anyway, I might be able to put Outlook on a form - I'll try that next to see whether it affects the login...
HI - Thank you for your additional input on this thread, Nigel, Dave and Olaf.
I downloaded and registered winsock and then spent a few hours trying to work around "Class is not licensed for use" and the "Object class is invalid for this container". Then found I couldn't get any further as the...
Hi again
Where can I find the winsock vcx, please? It isn't installed with my VFP6. Is there a version in the system folders - in a DLL perhaps - or is it something I can download?
Thanks
Karen
Hi Olaf
The email account will be separate from the company email and will never be accessed with Outlook. It will only be used for receiving notifications from a third-party app to say that a form has been submitted to their app.
I want to pick up each new email that comes into this account...
Hi there Gurus,
Please can I seek your advice on yet another challenge?
I need to monitor a web mail address from VFP6 without using Outlook automation. The email account has IMAP and POP3 settings, may be accessed using SSL or non-SSL and will be used for one purpose only, to receive...
Hi again, you wonderful people
I just wanted to add something into here in case it helps anyone else.
The SOAP messaging is working just fine via HTTP as suggested by Marco (mplaza).
I will be dealing with XML data in VFP6 and I came across this today - How To Move Data from an XML Document...
Hi Marco.
I do have access to SoapUI and an API guide with the actions and parameters I need.
Your link to your http example has just given me the huge boost I needed to kick start this week.
Thank you so very much. You are a superstar!
Best wishes
Karen
Hi Tamar
Thanks for the additional information regarding later versions of VFP and web services. I would like to be able to look into VFP 9.0 when I can - but I don't think it is going to be possible as part of this project.
Either way, I appreciate your input.
Thank you
Best wishes
Karen
Hi Mike
Thank you very much for providing so much extra information for me on the subject of VFP6/9, SOAP and XML.
I have already done some work with XML, extracting some very simple XML anyway, I can build on this if I need to.
I don't have access to VFP 9.0 at the moment either. I may be...
Hi Neil
Thanks very much for your input and the extra link. Another thing I will run up against is some version snobbery, and comments such as "what year is that from?"
I don't want to go into .NET if I don't have to. But this is becoming urgent and I don't feel even close to getting started...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.