Retrieve email and attachments from Exchange Server

Bob Sneidar bobsneidar at iotecdigital.com
Thu Jul 2 23:10:40 CEST 2015


The problem is encryption. You can shell this, but you need to read up on how to use the command line to telnet into an exchange server, and to complicate things, Microsoft made some significant changes in how to communicate with SMTP over telnet, so there are articles strewn about the internet that are outdated. Also, Microsoft recently deprecated some older ciphers. 

The quick fix is to set up an SMTP relay on a server (or workstation) that you do control, then configure that relay’s outside connection to use TLS, and leave the inside open. Then you can communicate with the internal relay without any problem or fear of security issues. This does not prevent someone on your LAN however, from intercepting your non-encrypted traffic with your relay, so this would not be a good choice, say for a medical application. 

Bob S


> On Jul 1, 2015, at 18:31 , Skip Kimpel <skiplondon at gmail.com> wrote:
> 
> Bob, 
> 
> The good news is I do have administrator rights and what I am writing is an internal business tool and not for public consumption. However, before I invest a significant amount of time playing with this unknown method let me ask the question in a different way.....
> 
> Let's say I create a rule to forward that email to a different email system. Is there a way to do what I am looking to do via Gmail, for instance?  Other email service?
> 
> SKIP
> 
> 
> 
>> On Jul 1, 2015, at 6:05 PM, Bob Sneidar <bobsneidar at iotecdigital.com> wrote:
>> 
>> There is this, but it requires user interaction, specifically with a powershelgl authentication dialog. It also has some other pre-requisites that would become insurmountable obstacles if you did not have administrative access to the Exchange server or the workstation executing the powershell. 
>> 
>> https://technet.microsoft.com/en-us/library/jj984289%28v=exchg.150%29.aspx
>> 
>> Bob S
>> 
>> 
>>> On Jul 1, 2015, at 14:59 , Bob Sneidar <bobsneidar at iotecdigital.com> wrote:
>>> 
>>> You would think that, but you might be mistaken. The contact management Act has specifically stated that in order to get the Act Outlook plugin to work with Outlook, the end user <MUST> be an administrator. This was not true for older versions of Outlook but it is now. This is because Microsoft way upped the ante on Outlook security specifically to prevent an application from doing exactly what you are trying to do. 
>>> 
>>> If the developers of Act cannot find a way around the present restrictions, it is doubtful you will find a way. 
>>> 
>>> Bob S
>>> 
>>> 
>>>> On Jul 1, 2015, at 08:46 , Richard Gaskin <ambassador at fourthworld.com> wrote:
>>>> 
>>>> Skip Kimpel wrote:
>>>> 
>>>>> I need the ability to tap into an Exchange Server account and grab
>>>>> text / attachments from emails sitting in that account.
>>>>> 
>>>>> Can anybody think of a way to do that via LC?
>>>> 
>>>> I don't have an answer but I might have a clue:  Since Vista, Windows has become increasingly interesting in enabling interoperability through its PowerShell scripting language.
>>>> 
>>>> There may be a way to dig up relevant PowerShell scripts and call them from LiveCode with the shell function.
>>>> 
>>>> Please let us know what you find.
>>>> 
>>>> -- 
>>>> Richard Gaskin
>>>> Fourth World Systems
>>>> Software Design and Development for the Desktop, Mobile, and the Web
>>>> ____________________________________________________________________
>>>> Ambassador at FourthWorld.com                http://www.FourthWorld.com
>>>> 
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list