[google-appengine] Re: Cannot send mail

2016-04-15 Thread Keith Chan
Hi Nick,
Today the email problem is fixed.

Thanks,
Keith

On Wednesday, April 13, 2016 at 10:27:11 AM UTC-7, Nick (Cloud Platform 
Support) wrote:
>
> Hey Keith,
>
> If you can open a Public Issue Tracker 
> <https://code.google.com/p/googleappengine/issues/list> thread using 
> label "Restrict-View-EditIssue", posting an example message which fails in 
> the thread, we'll be able to take a look and potentially get the issue 
> resolved, if you've already configured bounce notifications and can confirm 
> that it's not a case of the mail bouncing. 
>
> Regards,
>
> Nick
> Cloud Platform Community Support
>
> On Sunday, April 10, 2016 at 7:06:33 PM UTC-4, Keith Chan wrote:
>>
>> Using the following java code:
>>
>> Properties props = new Properties();
>> Session session = Session.getDefaultInstance(props, null);
>> Message msg = new MimeMessage(session);
>> msg.setFrom(new InternetAddress(FROM_EMAIL, "Sender"));
>> msg.addRecipient(Message.RecipientType.TO, new InternetAddress(email, 
>> name));
>> msg.setSubject(title);
>> msg.setText(msgBody);
>> Transport.send(msg);
>>
>> If the msgBody contains a URL like
>> MyApplication.appspot.com
>> the message won't be received by the recipient, but system has no error 
>> log
>> If I change the content to:
>> MyApplication.appspot._com
>> then everything works fine
>>
>> This happens on both Java and Python, seems the email server has a filter 
>> not sending message with valid URL.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9cca7a4e-8d29-4794-a2ae-616b1646f8d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannot send mail

2016-04-10 Thread Keith Chan
Using the following java code:

Properties props = new Properties();
Session session = Session.getDefaultInstance(props, null);
Message msg = new MimeMessage(session);
msg.setFrom(new InternetAddress(FROM_EMAIL, "Sender"));
msg.addRecipient(Message.RecipientType.TO, new InternetAddress(email, 
name));
msg.setSubject(title);
msg.setText(msgBody);
Transport.send(msg);

If the msgBody contains a URL like
MyApplication.appspot.com
the message won't be received by the recipient, but system has no error log
If I change the content to:
MyApplication.appspot._com
then everything works fine

This happens on both Java and Python, seems the email server has a filter 
not sending message with valid URL.


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8b03b7e2-8344-4c1b-8ea8-7e3633d15f76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.