MIME WYSYWIG editor for Swing?

J

josh

Hi there,
are you aware of any free, easy to embed, editor for emails? In my
application, there is template service that produces ready-to-send MIME
messages, but before I let my service send it, I have to give
application user a chance to see and/or modify that email (before
accepting).

I was trying to embed editor used in Colomba Java Email Client (looks
almost like Thunderbird), but after few hours of digging in code (it is
1100 java files) I gave up. It was too hard for me to tear it off that
application :(

Do you know about something else I could use? I would like it to accept
either raw MIME message or javax.mail.internet.MimeMessage... or
whatever else I can possibly do with generated email content.

Thanks,
Witek
 
S

Steven J. Sobol

Do you know about something else I could use? I would like it to accept
either raw MIME message or javax.mail.internet.MimeMessage... or
whatever else I can possibly do with generated email content.

Hm. Maybe try adapting Ekit from http://hexidec.com/

Specifically, that's an html editor, but why else would you need a
specialized editor? Attaching files doesn't require an editor.
 
W

Witold Szczerba

Steven J. Sobol napisa³(a):
Hm. Maybe try adapting Ekit from http://hexidec.com/

Specifically, that's an html editor, but why else would you need a
specialized editor? Attaching files doesn't require an editor.

Well, html editor is something else. With that you cannot add or remove
attachment, you will not see included graphics, as inside multipart MIME
there are CID links that points to another part of MIME...

The whole idea was to let user see and modify an email after it was
generated by service. That service produces raw email content.

I cannot tell end user to write a script against javax.mail API that
adds attachment if he or she is willing to do so. (S)he will not be able
to change logo, because that logo would have a source in some local hard
drive - useless for email... etc...

I can see there is no hope. I will have to think about some other
solution... my service will have to provide something else than raw
email content. And I will have to use some HTML editor, extract some
content to some temp folder, build HTML with includes images, create
some form to add/remove attachments and when user click OK I will have
to write code to take everything and build MIME :( :(

Right now it was 100x times simpler, because I was using Thunderbird to
create MIME template, then I was replacing markers with database content
and it was ready to send (few lines of code, easy to create template).
The only problem was to show that content in some editor like almost
EVERY email program includes :(
 
S

Steven J. Sobol

Well, html editor is something else. With that you cannot add or remove
attachment, you will not see included graphics, as inside multipart MIME
there are CID links that points to another part of MIME...

This is something you're likely to need to write. You may want to look
at eKit as a starting point.
I cannot tell end user to write a script against javax.mail API that
adds attachment if he or she is willing to do so. (S)he will not be able
to change logo, because that logo would have a source in some local hard
drive - useless for email... etc...

I thought this was something *you* were developing.
I can see there is no hope. I will have to think about some other
solution... my service will have to provide something else than raw
email content.

Am I missing something? You just want something pre-built and do not
want to have to do any programming at all? I'm not sure what you want
actually exists.

This IS a programming newsgroup, after all. :)
 
W

Witold Szczerba

Steven J. Sobol napisa³(a):
This is something you're likely to need to write. You may want to look
at eKit as a starting point.


I thought this was something *you* were developing.

I am not sure if you've got that sarcasm.

Am I missing something? You just want something pre-built and do not
want to have to do any programming at all? I'm not sure what you want
actually exists.

This IS a programming newsgroup, after all. :)

Well, I think you miss the point: I do not want to write email editor, I
just need one. I do not have time for dealing with this, I am sitting
day and night writing that program for customer, time is running away,
there are billion things to complete before that customer will kill us,
and this is not that I am just lazy. Or maybe you are so hardcore guy
you always write every single thing from scratch? Why use Java if we can
do same thing with assembler...
 
A

Andrew Thompson

On Mar 2, 7:14 am, Witold Szczerba <[email protected]>
wrote:
....
Well, I think you miss the point: I do not want to write email editor, I
just need one.

To give, as open source freeware, to the world?
..I do not have time for dealing with this, I am sitting
day and night writing that program for customer,

Oh, no - for *commercial* reasons. You should
have said first up..
..time is running away,
there are billion things to complete before that customer will kill us,
and this is not that I am just lazy.

...or cheap?

You might have contracted this out at
top rates, to attract a professional
response. And be looking at the code
right now. Instead, you are pissing
about on usenet, trying to get other
people to do your work, for free.

You deserve everything you get,
especially if that ends up being
'nothing'.

Andrew T.
 
J

josh

Andrew Thompson napisał(a):
You deserve everything you get,
especially if that ends up being
'nothing'.

And who the hell are you to judge me just like that? What the hell you
can possibly know... oh yeah, you are the one, who never takes, always
gives, work for no profit all the time... and because I am doing evil
commercial stuff I am the bad guy... I know...
 
S

Steven J. Sobol

Andrew Thompson napisa?(a):


And who the hell are you to judge me just like that? What the hell you
can possibly know... oh yeah, you are the one, who never takes, always
gives, work for no profit all the time... and because I am doing evil
commercial stuff I am the bad guy... I know...

Alright. That may be Andrew's opinion, but it's not mine.

I *will,* however, tell you that any Java question I answer in this
group will be programming-related, and that's why I answered you the
way I did. Your snippy response wasn't appreciated - your snippy
response to ME, not Andrew - and it's not going to make me want to
help you in the future.

I actually did a quick google search to find what I found. I'm sure
you can do the same.
 
R

ReneMarxis

Andrew Thompson napisał(a):


And who the hell are you to judge me just like that? What the hell you
can possibly know... oh yeah, you are the one, who never takes, always
gives, work for no profit all the time... and because I am doing evil
commercial stuff I am the bad guy... I know...

Don't get excited over that guy. Just take a look at his posts under
his profile and you'll see his way of answering questions.
I mean, that was a question ... if you don't like to answer don't ...

And don't forget Mr Andrew T. : this is not your newsgroup :)
 
L

Lew

ReneMarxis said:
And don't forget Mr Andrew T. : this is not your newsgroup :)

Sure it is, and yours, and Witold's, and josh's, and Steven's, and ...

If you look at the timing of Andrew's post, it came after the other guy
admitted he was in a crunch and needed hard, fast, complete answers. Factoring
out the fluff, the semantic content of Andrew's post was that this is not the
forum for that kind of response. To be perfectly fair, the other guy was
sarcastic first
I am not sure if you've got that sarcasm.

so Andrew was just fitting into the zeitgeist.

To the OP: Usenet newsgroups are a tool. Google is another one, as Steven J.
Sobol pointed out. There was no reason for the OP to get snippy with anyone,
but they did and they apparently forgot that GIYF, and Andrew was reacting to
that.

So maybe Andrew doesn't speak for you, but he often speaks for me.

Maybe you've never been wrong on this forum but I have been shot down pretty
hard here more than once, and I am not even a newbie. (I was even actually
wrong some of those times.) Usenet is no place for the thin skinned.

-- Lew
 
A

Andrew Thompson

...is this the point where I should
pretend I care?

I have nothing against 'commercial stuff'.

I have nothing, in particular, against asking
about commercially oriented systems or programs
in this group. But I do detest lazy, desperate
people like you who come prancing in with your
'its oh so important I promised it to the
customer last week' attitude expecting quick
service from people to do your research,
write the code, and deliver it too you as
a finished product.
...I am the bad guy... I know...

No, you're apparently a moron. That is
why I felt the need to make it clear, to
you and anybody else that cared read, or
failing making you aware, at least warning
anybody that might have the sense to lurk
in this group before asking a question,
that needy, rude, replies like you had
been giving, do not go down well around
here.
Don't get excited over that guy. Just take a look at his posts under
his profile

Huhh? Are you implying that you actually
read even 1% of the posts I've made to
usenet?*

Oh, no. You just read my reply to *you*..
<http://groups.google.com/group/comp.lang.java.programmer/browse_frm/
thread/fe95ed335a42fd5d/a81b25ffa8594b0b#a81b25ffa8594b0b>
...and you'll see his way of answering questions.

Yes. I treat morons like you, much like morons
like him. Except your post was more politely
clueless, so I was more polite in my derision.

* But, very few of the 150+ posts you'd need
to read (to get that '1%'), would be dealing
with situations like this.
I mean, that was a question ... if you don't like to answer don't ...

If you don't like my answers, you can always ..
- refrain from posting, or
- plonk me, or..
- get your answers from a help-desk, or..
- ..
There are many options.
And don't forget Mr Andrew T. : this is not your newsgroup :)

I'll remember that people who criticise
me after having made only 7 posts, are
usually very amusing. Keep up the good
work. ;-)

BTW, how's that e-lance contract going?

Andrew T.
 
C

Chris Uppal

Andrew said:
I have nothing against 'commercial stuff'.

But you came across as very much against it, whether you meant it or not.

And I don't think it's fair to describe the OP as lazy or moronic either. At
least not on the evidence available to me (you may know something I don't).

If I were looking for a pre-packaged component to use in one odd corner of a
largely unrelated program, and asked if anyone here knew of something suitable,
then I'd be /very/ surprised -- and angry -- to be told that I was an idiot for
needing it, or that I was no true programmer for not wanting to write my own.

-- chris
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

Chris said:
If I were looking for a pre-packaged component to use in one odd corner of a
largely unrelated program, and asked if anyone here knew of something suitable,
then I'd be /very/ surprised -- and angry -- to be told that I was an idiot for
needing it, or that I was no true programmer for not wanting to write my own.

Indeed. There are many places where a home written solution would be
considered unacceptable if a free or cheap external solution exist.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top