Can you please explain what you mean?

On Feb 4, 6:38 am, seleronm <seler...@gmail.com> wrote:
> 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
> >("neh...@gmail.com","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 google-appengine-j...@googlegroups.com.
> >To unsubscribe from this group, send email to google-appengine-java+
> >unsubscr...@googlegroups.com.
> >For more options, visit this group athttp://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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to