Giter Site home page Giter Site logo

No EML Reader about fakesmtp HOT 15 OPEN

nilhcem avatar nilhcem commented on July 23, 2024
No EML Reader

from fakesmtp.

Comments (15)

anlar avatar anlar commented on July 23, 2024 2

Hello,

In case if anyone else needs client that can handle html emails, I've started LunaticSMTP project.

It's not directly based on that project but it's like a reimplementation of FakeSMTP with JavaFX. It's using JFX's WebView (with it's built-in WebKit) to display emails. Also because of JFX usage minimum required Java version was bumped to 8u40.

from fakesmtp.

Nilhcem avatar Nilhcem commented on July 23, 2024

Yes, it could be useful, indeed.

Thanks,

from fakesmtp.

aronrodrigues avatar aronrodrigues commented on July 23, 2024

Hello!

I'm building the eml reader, but I think I found a bug. Why do you skip the
first 4 lines from the stream? (It mess with the headers when you send the
email to more then one recipient i.e to: [email protected],
[email protected]).

If you try it and see the result (on outlook) you will notice that the from
field is empty.

May I remove those restriction (4 lines?)?

Regards.

On Fri, Dec 13, 2013 at 6:31 AM, Nilhcem [email protected] wrote:

Yes, it could be useful, indeed.

Thanks,


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-30493737
.


Aron Teixeira Rodrigues
Plano para dominar o mundo! - http://ppdom.wordpress.com

from fakesmtp.

Nilhcem avatar Nilhcem commented on July 23, 2024

Hi,

Thanks for noticing it, you are right, we should not remove these lines - Don't really know why I did that 👎

from fakesmtp.

aronrodrigues avatar aronrodrigues commented on July 23, 2024

Hi Nilhcem, Merry Christmas and Happy New Year

I have a question for you:

The HTML Viewer which comes in JSE is a little limited (HTML3.2 even o JSE7). So I thought on three reasonable solutions:

a) Use a external HTMLViewer library (do not like it very much)
b) Use my HTML3.2 Viewer only when your app throws the missing client exception.
c) Let the user choose to view the eml in his client or in the app's reader.

Anyway, I think it's a good idea to warn the user (anywhere on the reader screen) of the HTML3.2 limitation.

In my opinion the best solution is the (b) and maybe a configuration parameter to the user choose (some kind of c).

from fakesmtp.

aronrodrigues avatar aronrodrigues commented on July 23, 2024

After a little research I found

http://cssbox.sourceforge.net
https://github.com/radkovo/CSSBox

I think it's the best library.

from fakesmtp.

aronrodrigues avatar aronrodrigues commented on July 23, 2024

fakesmtp

from fakesmtp.

Nilhcem avatar Nilhcem commented on July 23, 2024

Hello Aron,

Indeed, using CSSBox seems to be a good decision - The new feature looks nice from your screenshot!

from fakesmtp.

securez avatar securez commented on July 23, 2024

Hi,

There is any code available to test this feature?

I plan add some features to fakesmtp and this is one of them, I don't want reinvent the well:

Other features that I plan add to help mail integration tests:

  • POP and IMAP: Simple support with mails from folder.
  • no GUI option

Regards.

from fakesmtp.

Nilhcem avatar Nilhcem commented on July 23, 2024

From all the features you listed, only the "no GUI option" is already in master
To start the SMTP server automatically (-s argument) on a different port (-p argument) with no gui (-b argument), saving emails in memory (-m) to improve the overall performances you can do:

java -jar fakeSMTP.jar -s -b -p 2525 -m

from fakesmtp.

securez avatar securez commented on July 23, 2024

Hi,

Thanks for you reply, It's great. I'm see different options to add message view, some times messages with UTF-8 encoding, are coded in Base64 in MIME, so reading it is a bit difficult without a EML viewer, there is any progress on aronrodrigues solution.

Can I help to something?

from fakesmtp.

Nilhcem avatar Nilhcem commented on July 23, 2024

Hi,

I haven't seen any code so far and haven't focused on this issue yet (as installing any eml viewer solves the issue), but aronrodrigues's solution to use CSSbox seems great.
Thinking longer about it, it looks like a great feature to include, but only when there is no default eml viewer installed on the OS (which occurs in the code when MailsListPane.java displays the mailslist.err.open error).

Feel free to contribute and send a PR should you want to develop this feature.

from fakesmtp.

aronrodrigues avatar aronrodrigues commented on July 23, 2024

Sorry about it, I was on vacation.
I have no luck finding a HTML5 viewer to display the messages.

On Sun, May 11, 2014 at 1:23 PM, Gautier MECHLING
[email protected]:

Hi,

I haven't seen any code so far and haven't focused on this issue yet (as
installing any eml viewer solves the issue), but aronrodrigues's solution
to use CSSbox seems great.
Thinking longer about it, it looks like a great feature to include, but
only when there is no default eml viewer installed on the OS (which occurs
in the code when MailsListPane.java displays the mailslist.err.open
error).

Feel free to contribute and send a PR should you want to develop this
feature.


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-42775079
.


Aron Teixeira Rodrigues
Plano para dominar o mundo! - http://ppdom.wordpress.com

from fakesmtp.

arthurblake avatar arthurblake commented on July 23, 2024

Did these changes ever get merged? Looked like the start of something useful...

from fakesmtp.

SpyroTEQ avatar SpyroTEQ commented on July 23, 2024

I know this is old, but I hope it would actually be closed without being merged, because one can also tell Windows (or Linux or whatever) to open *.eml files with the software they love (like, for me, Thunderbird) and I'm afraid merging such viewer into FakeSMTP will remove this nice behavior (one can still tell their OS to open *.eml file with the suggested viewer if one prefers)

from fakesmtp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.