Hi.
I think that I can transmit if it is shape that stores
msg and attachement in each Part
Please try.
thanks.
>Multi-Part Messages
>
>I can't send attachment (simple image file) to email but normal text
>email is working.
>
>
><code>
> MimeMessage msg = new MimeMessage
>(session);
>
> Multipart mp = new MimeMultipart();
>
> MimeBodyPart attachment = new MimeBodyPart();
> attachment.setFileName("videoimage.jpeg");
> attachment.setContent(theByteArray, "image/jpeg");
> attachment.setText(request.getParameter("msg"));
>
> mp.addBodyPart(attachment);
> msg.setContent(mp);
>
> msg.setFrom(new InternetAddress
>("[email protected]","Reply to"));
> msg.addRecipient(Message.RecipientType.TO, new
>InternetAddress(toe,"1.3 users"));
> msg.setSubject(request.getParameter("subject"));
>
> Transport.send(msg);
></code>
>
>I am using GAE 1.3.0 for Java.
>
>--
>You received this message because you are subscribed to the Google Groups
>"Google App Engine for Java" group.
>To post to this group, send email to [email protected].
>To unsubscribe from this group, send email to google-appengine-java+
>[email protected].
>For more options, visit this group at http://groups.google.com/group/google-
>appengine-java?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.