Java Forum / General / March 2007
MIME WYSYWIG editor for Swing?
josh - 01 Mar 2007 00:57 GMT 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
Steven J. Sobol - 01 Mar 2007 19:14 GMT > 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.
 Signature Steve Sobol, Professional Geek ** Java/VB/VC/PHP/Perl ** Linux/*BSD/Windows Victorville, California PGP:0xE3AE35ED
It's all fun and games until someone starts a bonfire in the living room.
Witold Szczerba - 01 Mar 2007 19:30 GMT Steven J. Sobol napisał(a):
>> 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 [quoted text clipped - 4 lines] > 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 :(
Steven J. Sobol - 01 Mar 2007 19:56 GMT > 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. :)
 Signature Steve Sobol, Professional Geek ** Java/VB/VC/PHP/Perl ** Linux/*BSD/Windows Victorville, California PGP:0xE3AE35ED
It's all fun and games until someone starts a bonfire in the living room.
Witold Szczerba - 01 Mar 2007 20:14 GMT Steven J. Sobol napisał(a):
>> Well, html editor is something else. With that you cannot add or remove >> attachment, you will not see included graphics, as inside multipart MIME [quoted text clipped - 9 lines] > > I thought this was something *you* were developing. I am not sure if you've got that sarcasm.
>> 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 [quoted text clipped - 5 lines] > > 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...
Andrew Thompson - 01 Mar 2007 20:23 GMT On Mar 2, 7:14 am, Witold Szczerba <josh.nos...@poczta.neostrada.pl> 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.
josh - 01 Mar 2007 22:24 GMT 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...
Steven J. Sobol - 01 Mar 2007 22:58 GMT > Andrew Thompson napisa?(a): > [quoted text clipped - 6 lines] > 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.
 Signature Steve Sobol, Professional Geek ** Java/VB/VC/PHP/Perl ** Linux/*BSD/Windows Victorville, California PGP:0xE3AE35ED
It's all fun and games until someone starts a bonfire in the living room.
ReneMarxis - 01 Mar 2007 23:09 GMT On 1 Mrz., 23:24, josh <pljosh_malpa_poczta.neostrada...@nospam.org> wrote:
> Andrew Thompson napisał(a): > [quoted text clipped - 6 lines] > 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 :)
Lew - 03 Mar 2007 14:07 GMT > 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
Andrew Thompson - 03 Mar 2007 14:43 GMT > On 1 Mrz., 23:24, josh <pljosh_malpa_poczta.neostrada...@nospam.org> > wrote: [quoted text clipped - 7 lines] > > And who the hell are you to judge me just like that? What the hell you > > can possibly know... ..is this the point where I should pretend I care?
> > ...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 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.
Chris Uppal - 03 Mar 2007 18:31 GMT > > > ...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 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
Arne Vajhøj - 04 Mar 2007 03:05 GMT > 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
Free MagazinesGet these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...
|
|
|