Re: 4D eMail Editor - full HTML support

2019-07-24 Thread Spencer Hinsdale via 4D_Tech

Have you looked at 4D PDF Printer?
http://node.de/indexplug.htm

We use it to automate printing from 4D to PDF and then emailing using Outlook.

However, it also has PRO features for reading from Outlook into 4D.  Looking at 
the Demo, when I click on Outlook Email Parsing Client it lists messages in 
Outlook (takes a minute with 6000 msgs) showing their details.  I don't see 
HTML offhand but it looks like you could automate the copy/paste (export, read 
.eml, ...)

Hth,
spencer




On 7/24/19, 12:34 PM, "4D_Tech on behalf of rooftop99--- via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Thanks to all who have offered suggestions.  Super helpful!  The biggest 
challenge I face is the spec calls for composing the email in Outlook first, 
then copying and pasting the final version into 4D with full preview and edit 
capability.  None of my tests have proved this is possible. (There is always 
something wacky in the transfer.)  However, your input has given me ideas on 
how we might take a different path to get to the same end result.  We’ll see...

Much appreciated!
Kirk

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D eMail Editor - full HTML support

2019-07-24 Thread rooftop99--- via 4D_Tech
Thanks to all who have offered suggestions.  Super helpful!  The biggest 
challenge I face is the spec calls for composing the email in Outlook first, 
then copying and pasting the final version into 4D with full preview and edit 
capability.  None of my tests have proved this is possible. (There is always 
something wacky in the transfer.)  However, your input has given me ideas on 
how we might take a different path to get to the same end result.  We’ll see...

Much appreciated!
Kirk

> On Jul 24, 2019, at 12:56 AM, Paul Dennis via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Chuck, 
> We have a template system for email replies so need to view in 4d and auto
> generate email contents. We import emails via exchange/imap parse the mime
> results all works ok HTMl is valid but write pro does not open or format
> correctly at the moment. Thomas Maul confirmed the format needs to xhmtl. 
> Paul
> 
> 
> 
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D eMail Editor - full HTML support

2019-07-24 Thread Paul Dennis via 4D_Tech
Chuck, 
We have a template system for email replies so need to view in 4d and auto
generate email contents. We import emails via exchange/imap parse the mime
results all works ok HTMl is valid but write pro does not open or format
correctly at the moment. Thomas Maul confirmed the format needs to xhmtl. 
Paul



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D eMail Editor - full HTML support

2019-07-23 Thread Kirk Brooks via 4D_Tech
Hi Kirk,

On Mon, Jul 22, 2019 at 11:26 PM rooftop99--- via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Our marketing department is creating eMails in Outlook which included
> images, hyperlinks (text and image), backgrounds, etc.  We would like to
> take these emails and copy the body content into a field in 4D to be
> retrieved for future email campaigns sent from 4D. The links, images and
> formatting need to be maintained.


> I have looked at 4D Write Pro as an option but it doesn’t appear to accept
> the entire contents of an outlook email via paste and it is expensive.


First, you don't say but I assume the emails are formatted HTML. The
"entire contents of an outlook email" is a .eml file, or Microsoft's
interpretation of one, and Write may be able to work with it.

I would take the email text, and that's all it is - a big block of text -
and extract the HTML. You'll have to inspect the actual text but I expect
you can find something that starts with "" and ends with "".
Pull that out and store it in a text field or whatever. That content should
display as you want in a web area. You may get different results using the
internal web kit vs. not.

The html may not be so neatly identified but the principle is the same,
find the html part, extract it, wrap it in your own  tags if
you need to and display in a web area. That's all something that could be
automated, I think. Set up a mailbox for the server, if it doesn't have one
already, and have marketing include it in the mailings. Server checks the
box now and then, downloads the marketing email and creates the record for
it. You probably have that in place already, I suppose.

If the emails aren't html for some reason it will be extremely difficult to
match formatting and such. But I really doubt that's the case.

-- 
Kirk Brooks
San Francisco, CA
===

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D eMail Editor - full HTML support

2019-07-23 Thread Charles Miller via 4D_Tech
Do you hav to view result in 4d. If not save it in a doc and you hen in a
blob in 4d. If you need to see save the text in a text field

Regards
Chuck

On Tue, Jul 23, 2019 at 2:26 AM rooftop99--- via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> HI All,
>
> Environment:  All Windows OS, 4D v16R4 Server/Client  (Headed to v17 64bit
> soon…)
>
> Our marketing department is creating eMails in Outlook which included
> images, hyperlinks (text and image), backgrounds, etc.  We would like to
> take these emails and copy the body content into a field in 4D to be
> retrieved for future email campaigns sent from 4D. The links, images and
> formatting need to be maintained.
>
> I have looked at 4D Write Pro as an option but it doesn’t appear to accept
> the entire contents of an outlook email via paste and it is expensive.
> Also looked at TinyMCE in a WebArea… potential.
>
> Just checking to see if anyone is doing something similar and would be
> willing to steer me in the right direction.
>
> Thanks!
> Kirk
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  https://www.informed-solutions.com
-
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited.  Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption from
disclosure as to this communication.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D eMail Editor - full HTML support

2019-07-23 Thread Paul Dennis via 4D_Tech
Hello Kirk,

We have had an email client for number of years. And we switch to using
write pro as the email editor with version 16. We were able to generate the
html to open with write pro by using the old 4D write plug-in as the HTML
generated Was compatible with write pro. This is now broken in version 17.
See this thread.

https://forums.4d.com/Post/EN/30613359/1/30727749#30727749

We have just implemented using tiny MCE as follows.

1. Parse the incoming email try and open the body with write pro if WP New
gives an error then they html is not compatible (tries various converters
they don't work). 

2. If you get an error open the HTML in a web area and edit with tinyMCE. If
no error open in write pro but you may have format problems. It's quite
straightforward.

3. it's okay to use write pro as an email editor for new emails because you
can save as HTML before sending. So we use this for our templates. Replies
to our emails can sometimes but not always be open by write pro.

We didn't have any luck trying to get right pro to open incoming without
either an error or formatting problems unless the original email was
generated by write pro. From the thread you can see that 4D are working on
this so perhaps we may get HTML import in the future.
Paul



--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D eMail Editor - full HTML support

2019-07-23 Thread rooftop99--- via 4D_Tech
HI All,

Environment:  All Windows OS, 4D v16R4 Server/Client  (Headed to v17 64bit 
soon…)

Our marketing department is creating eMails in Outlook which included images, 
hyperlinks (text and image), backgrounds, etc.  We would like to take these 
emails and copy the body content into a field in 4D to be retrieved for future 
email campaigns sent from 4D. The links, images and formatting need to be 
maintained.  

I have looked at 4D Write Pro as an option but it doesn’t appear to accept the 
entire contents of an outlook email via paste and it is expensive.  Also looked 
at TinyMCE in a WebArea… potential.  

Just checking to see if anyone is doing something similar and would be willing 
to steer me in the right direction.

Thanks!
Kirk
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**