François,
Do you have a code snippet, log entries or a stack trace?
--
Ikai Lan
Developer Programs Engineer, Google App Engine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To
Of course, here is below my email relay servlet class. What I'm
willing to do is to hide my customers email addresses by relaying
email to them via my google app email adress.
I would like to be able to relay html emails with images which is
quite common nowadays. I am sending my test emails fr
Hi Ikai, have you been able to reproduce my "Converting attachment
data failed" exception ?
I'm still stuck on this strange bug.
Thanx for your help.
On 11 nov, 00:00, mably wrote:
> Of course, here is below my email relay servlet class. What I'm
> willing to do is to hide my customers email a
Hi Ikai, thanx for you help.
I've copy pasted your code on my webapp (webwinewatch), I've no error
but the mail isn't correctly relayed, all attachements are removed.
I've just modified the sender, from and recipient lines :
message.setSender(new InternetAddress("@gmail.com", "Relay
account"));
In fact standards attachments works.
But it's not what I'm trying do do.
I'm need to relay HTML messages with inline images and this is still
not working.
Is it a kind of limitation of GAE or is it supposed to work ?
Thanx for your help.
François
On 16 nov, 23:09, mably wrote:
> Hi Ikai, tha
I'm just sending a simple mail from my Gmail account with an embedded
gif image.
I can perfectly read it from my mail servlet handler but when I try to
relay it (cf. code from first message) I get this annoying "Converting
attachment data failed" error which seems to be specific to GAE.
Here is t
I've written a simple class sending an HTML email with an embedded
image (cf. below) via GMail SMTP. It works perfectly fine when run
locally from Eclipse.
The same code in a GAE mail servlet handler produce the infamous
"Converting attachment data failed" error.
So it really seems to be a probl
Of course, the code above doesn't need to be run in mail handler
servlet :-)
On Nov 19, 12:01 am, mably wrote:
> I've written a simple class sending an HTML email with an embedded
> image (cf. below) via GMail SMTP. It works perfectly fine when run
> locally from Eclipse.
>
> The same code in a
I haven't found a way to set a Content-ID header on a mimebodypart/
attachment using the low-level API. The MailService.Attachment class
is quite rudimentary (only filename and data).
May be some part of the low level API are still undocumented ?
Thanx for all.
On Nov 19, 12:25 am, "Ikai L (Goo
Any chance to see this bug fixed in the future ?
Is there any documentation on the meaning of "Converting
attachment data failed" error message ?
On 19 nov, 20:55, "Ikai L (Google)" wrote:
> Looks like you're right. As far as I know there are no hidden methods.
>
> Another workaround for this li
By the way, do you know if Google plans to open source some parts of
GAE librairies so we could investigate deeper when we encounter such a
problem ?
On 19 nov, 21:01, mably wrote:
> Any chance to see this bug fixed in the future ?
>
> Is there any documentation on the meaning of "Converting
> at
Hi Ikai,
I tried your example code, but I cannot attach an image on the email
that I send.
There is no conversion error either.
Here is snippets of the code, please help..
//Retrieving image:
URL url = new URL("http://stockcharts.com/c-sc/sc?s="; + ticker +
"&p=DAILY&b=5&g=0&i=0&r=3528");
//
Thanks Ikai.
It did NOT work before because I set the dataHandler before I set the
FileName.
Just have to set the FileName and then set the DataHandler.
attachment.setFileName("ticker.png");
attachment.setDataHandler(new DataHandler(mimePartDataSource));
Is this behaviour intentional?
Many than
Hi Ikai,
So does the order of setDataHandler + setFileName cause problems as I
wrote above?
Regards
On Dec 1, 5:25 am, "Ikai L (Google)" wrote:
> Interesting, so this did not work?
>
> attachment.setDataHandler(new DataHandler(mimePartDataSource));
> attachment.setFileName("ticker.png");
>
> I
Hi there,
I reproduced same problem.
I cannot send attachment file and inline image with HTML mail.
(Of course, I could send plain text mail without attachment and
HTML mail without inline image)
I don't have any idea. It would be very helpful to tell me anything.
I build the mime message in Ht
Don't forget to star issue :
http://code.google.com/p/googleappengine/issues/detail?id=965
On Dec 31, 3:23 pm, minor-undroid wrote:
> Hi there,
>
> I reproduced same problem.
> I cannot send attachment file and inline image with HTML mail.
> (Of course, I could send plain text mail without attac
Sorry, I made a wrting mistake.
I cannot send the HTML mail with inline image,
and cannot send the HTML mail with attachement file, too.
(I could send the plain text mail with an attachment image
and HTML mail without attachment file)
I think It's only GAE's problem.
Do you have any idea?
On D
I couldn't reproduce your exact error, but I was able to put together a
working example of an inbound email handler to relay messages. I'm going to
expand the documentation about processing inbound emails. Here's some
working code: http://pastie.org/701517
Does this example help any? Code is also
François,
I'm not familiar with any standards with regard to inline images. Do you
have this working outside of App Engine? Do you have working code from that?
If there are discrepancies in our implementation of javax.mail.* and
standard implementations we should be aware.
On Mon, Nov 16, 2009 at
What I mean is, is this code working on a different mail server?
On Wed, Nov 18, 2009 at 2:00 PM, mably wrote:
> I'm just sending a simple mail from my Gmail account with an embedded
> gif image.
>
> I can perfectly read it from my mail servlet handler but when I try to
> relay it (cf. code from
That's good information to know. We are not using Sun's JavaMail
implementation, so it's possible there are points of incompatibility.
There's one last thing you may want to try:
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/mail/package-summary.html
The above page d
Looks like you're right. As far as I know there are no hidden methods.
Another workaround for this limitation could be to store incoming images in
the data store on an incoming email, then reference them in the emails that
get sent out. It's not ideal, but it may be the solution to what you are
lo
We'll always try to open source what makes sense. I'm not sure it'd make
sense to open source all GAE libraries since many of the calls talk to
services. The javax.mail.* could fall under the "makes sense" category.
On Thu, Nov 19, 2009 at 12:07 PM, mably wrote:
> By the way, do you know if Goog
Interesting, so this did not work?
attachment.setDataHandler(new DataHandler(mimePartDataSource));
attachment.setFileName("ticker.png");
I'll need to do some research into the Java mail spec to see if we are
matching it. Could be a bug if we aren't.
On Thu, Nov 26, 2009 at 12:48 PM, Don wrote:
It doesn't seem like it should cause issues, but if you have a reproducible
test case please let us know.
On Tue, Dec 15, 2009 at 6:06 AM, Don wrote:
> Hi Ikai,
>
> So does the order of setDataHandler + setFileName cause problems as I
> wrote above?
>
> Regards
>
>
> On Dec 1, 5:25 am, "Ikai L (
Thanks your quick response.
I didn't find that issue.
2009/12/31 minor-undroid
> Sorry, I made a wrting mistake.
>
> I cannot send the HTML mail with inline image,
> and cannot send the HTML mail with attachement file, too.
> (I could send the plain text mail with an attachment image
> and HTM
26 matches
Mail list logo