Hi Jason,
i have got the same problem too. the Code was copied and pasted
from
http://code.google.com/appengine/docs/java/mail/usingjavamail.html. The Mail
was sended from a deployed application. I have not received any Mail, but
the Quotas said that i have sent out mails. there is neither error message
nor errorlogs. i also tried the code from Sadhasivam Jayabalaganesan's mail,
it doesn't work for me either.
-ray
2009/9/11 Jason (Google) <[email protected]>
> Just to clarify, you are sending these from a deployed application,
> correct?
>
> - Jason
>
>
> On Tue, Sep 8, 2009 at 9:06 PM, king <[email protected]> wrote:
>
>>
>> I have the same problem. I sent out 3 email and have been waiting for
>> hours, still no email arrived at my inbox, there is no error message
>> either. Does anyone have any update on this issue?
>>
>>
>> On Aug 20, 12:00 pm, DrMorten <[email protected]>
>> wrote:
>> > Nothing in the log about failed messages. I've made a Grails Service
>> > sending my emails. Basiclly I just cut and pasted the info fromhttp://
>> code.google.com/appengine/docs/java/mail/usingjavamail.html,
>> > and modified it to fit my needs. Just as a quick version to get it
>> > working. I pasted the service below.
>> >
>> > class MailService {
>> >
>> > boolean transactional = true
>> >
>> > def sendMail(subject, msgBody, from, fromText, too, tooText) {
>> >
>> > Properties props = new Properties();
>> > Session session = Session.getDefaultInstance(props,
>> null);
>> >
>> > try {
>> > def msg = new MimeMessage(session);
>> > msg.setFrom(new InternetAddress(from,
>> fromText));
>> > msg.addRecipient(Message.RecipientType.TO,
>> > new
>> InternetAddress(too, tooText));
>> > msg.setSubject(subject);
>> > msg.setText(msgBody);
>> > Transport.send(msg);
>> >
>> > } catch (AddressException e) {
>> > log.error("address error sendingmail", e)
>> > } catch (MessagingException e) {
>> > log.error("messaging exception sendingmail", e)
>> > }
>> >
>> > }
>> >
>> > }
>> >
>> > On Aug 20, 8:48 pm, "Jason (Google)" <[email protected]> wrote:
>> >
>> >
>> >
>> > > Did you check your application's logs to see if there were any errors
>> > > sending the messages? What code were you using to send the emails?
>> > > - Jason
>> >
>> > > On Wed, Aug 19, 2009 at 7:47 AM, DrMorten <
>> [email protected]
>> >
>> > > > wrote:
>> >
>> > > > I sent about 7 emails last night to my own email address. They havnt
>> > > > arrived, Ive checked the code and the addresses were right. The
>> Quotas
>> > > > say that I've sent the e-mails.
>> >
>> > > > Anyone have an idea of how long it should take to send to a gmail
>> > > > address?
>>
>>
>
> --~--~---------~--~----~------------~-------~--~----~
> 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]<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.