Suddenly started to get "Unauthorized sender" when sending emails

1,389 views
Skip to first unread message

anatoliy

unread,
Aug 12, 2011, 1:08:47 AM8/12/11
to Google App Engine
Hi!

Tonight appengine started to throw:

javax.mail.SendFailedException: Send failure
(javax.mail.MessagingException: Illegal Arguments
(java.lang.IllegalArgumentException: Unauthorized Sender: Unauthorized
sender))

for the same code as was working perfectly yesterday.

Sender is set using this code:
mimeMsg.setFrom(new InternetAddress("my app ad...@gmail.com", "my app
admin"));

Anyone else having same problem?

anatoliy

Koen kam

unread,
Aug 12, 2011, 4:52:57 AM8/12/11
to google-a...@googlegroups.com
same here in python since aug 11, 22:00 GMT
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/mail.py", line 894, in send raise ERROR_MAP[e.application_error](e.error_detail) InvalidSenderError: Unauthorized sender

Jan Muller

unread,
Aug 12, 2011, 9:39:13 AM8/12/11
to google-a...@googlegroups.com
Hi Anatoliy,
I have exactly the same problem. :-( My users are not receiving emails since today. Anyone else have the same problems?

bFlood

unread,
Aug 12, 2011, 9:44:01 AM8/12/11
to Google App Engine
I'm getting these too and the sender is definitely an admin on the
account (in fact it's the one used to deploy, so I know it's valid and
working)

help Google, no emails are going out

iMM Braga

unread,
Aug 12, 2011, 11:14:55 AM8/12/11
to Google App Engine
I am having exactly the same problem using the email address of my App
Owner!
This email address has always worked.

is the email API broken?

We need Google support on this.
> > anatoliy- Ocultar texto citado -
>
> - Mostrar texto citado -

kkirsanov

unread,
Aug 12, 2011, 8:39:41 AM8/12/11
to Google App Engine
+1

However sending from mail account with Developer status still works.

Yossy

unread,
Aug 12, 2011, 4:21:54 AM8/12/11
to Google App Engine
Hi,

I have same problem, and not resolved yet.
I posted same things at Google Groups(Google App Engine for Java) too.
but not get answer and reply.
Please write this discussion, if you know how to resolve this problem.
I will do too.
Thanks.
Message has been deleted
Message has been deleted

fmoto

unread,
Aug 12, 2011, 3:11:23 AM8/12/11
to Google App Engine
I have same problem in GAE/Python.
InvalidSenderError: Unauthorized sender

Ice13ill

unread,
Aug 12, 2011, 11:32:55 AM8/12/11
to Google App Engine
+1
I use Java SDK 1.5.0

Joshua Smith

unread,
Aug 12, 2011, 11:35:17 AM8/12/11
to google-a...@googlegroups.com
The last one of these errors in my logs is 13:33 ago, so I guess they fixed it?

GAE Team: Some comment on downtime-notify would be appropriate here.

> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>

Robert Kluin

unread,
Aug 12, 2011, 11:58:22 AM8/12/11
to google-a...@googlegroups.com
When you guys see stuff like this, I'd suggest filing a production
issue and including a link to the issue here. I think that will help
Googlers track the problem and get a better feel for the scale of the
issue.
http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue


Robert

iMM Braga

unread,
Aug 12, 2011, 1:01:38 PM8/12/11
to Google App Engine
This still repros for me.

On 12 Ago, 16:58, Robert Kluin <robert.kl...@gmail.com> wrote:
> When you guys see stuff like this, I'd suggest filing a production
> issue and including a link to the issue here.  I think that will help
> Googlers track the problem and get a better feel for the scale of the
> issue.
>  http://code.google.com/p/googleappengine/issues/entry?template=Produc...
> >> For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> > To post to this group, send email to google-a...@googlegroups.com.
> > To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en.- Ocultar texto citado -

Ice13ill

unread,
Aug 12, 2011, 5:57:34 PM8/12/11
to Google App Engine
I tried to change the sending user and it worked. When i changed it
back the the original one i still received the
javax.mail.SendFailedException: Send failure error. It worked fine
until today (the user was added to Permissions as Developer; I tried
to change it to Owner and still no success).
What could the problem be?
> > > For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en.-Ocultar texto citado -

Andrei Cosmin Fifiiţă

unread,
Aug 12, 2011, 6:01:35 PM8/12/11
to Google App Engine
Has anyone tried to remove the user and then send an invitation to add it again ?

Jan Muller

unread,
Aug 12, 2011, 6:03:48 PM8/12/11
to google-a...@googlegroups.com

Yes, i tried it. No results :(

Dne 13.8.2011 0:02 "Andrei Cosmin Fifiiţă" <andrei....@gmail.com> napsal(a):

Andrei Cosmin Fifiiţă

unread,
Aug 12, 2011, 6:14:22 PM8/12/11
to google-a...@googlegroups.com
This sounds bad... So you guys also have a sender that worked, now it doesn't work, but other senders do work ? (that were also added to Permissions list)

2011/8/13 Jan Muller <mull...@gmail.com>

Takashi Matsuo (Google)

unread,
Aug 12, 2011, 7:17:56 PM8/12/11
to google-a...@googlegroups.com

Hi everyone.

We're aware of this issue and working for the fix.

The issue we're seeing is that if the sender's(who is also an app's owner) mail address contains "." (dot), the mail sending call raises an error.

Sorry for the inconvenience.
If you observe different issue, please let us know.

-- Takashi

Joshua Smith

unread,
Aug 12, 2011, 8:12:17 PM8/12/11
to google-a...@googlegroups.com
+1.  My problem sender does, indeed, have a . in the account name.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/o5SeyhH4eSkJ.

Jan Muller

unread,
Aug 13, 2011, 3:09:14 AM8/13/11
to google-a...@googlegroups.com
My sender address also contains .


Jan Müller

bFlood

unread,
Aug 13, 2011, 6:57:56 AM8/13/11
to Google App Engine

+1 sender has a period in it

On Aug 13, 3:09 am, Jan Muller <mulle...@gmail.com> wrote:
> My sender address also contains .
>
> Jan Müller
>

Andrei Cosmin Fifiiţă

unread,
Aug 13, 2011, 7:52:57 AM8/13/11
to google-a...@googlegroups.com

I had a user that contained dot in its name and worked. It also contained dash... the sender that had only a dot still triggers the error

Vivek Ramachandran

unread,
Aug 13, 2011, 8:31:46 AM8/13/11
to google-a...@googlegroups.com
Same issue here as well.

Is this nearing a resolution? 

Vivek


2011/8/13 Andrei Cosmin Fifiiţă <andrei....@gmail.com>



--

Vivek Ramachandran

unread,
Aug 13, 2011, 4:16:06 PM8/13/11
to google-a...@googlegroups.com
Is this resolved for anyone yet? 

I am still seeing errors in my application. 

Funny that the mail API status seems ok: http://code.google.com/status/appengine 

--

Ice13ill

unread,
Aug 15, 2011, 4:40:59 AM8/15/11
to Google App Engine
Me too... Let us know at least if there is a workaround available.

On Aug 13, 11:16 pm, Vivek Ramachandran
<vivek.securitywiz...@gmail.com> wrote:
> Is this resolved for anyone yet?
>
> I am still seeing errors in my application.
>
> Funny that the mail API status seems ok:http://code.google.com/status/appengine
>
> On Sat, Aug 13, 2011 at 6:01 PM, Vivek Ramachandran <
>
>
>
>
>
>
>
>
>
> vivek.securitywiz...@gmail.com> wrote:
> > Same issue here as well.
>
> > Is this nearing a resolution?
>
> > Vivek
>
> > 2011/8/13 Andrei Cosmin Fifiiţă <andrei.fifi...@gmail.com>

Jan Muller

unread,
Aug 15, 2011, 4:46:29 AM8/15/11
to google-a...@googlegroups.com
I had the same problem and i solved it by replacing sender email with email without dots. And it is working now.




Jan Müller

Ice13ill

unread,
Aug 15, 2011, 5:20:25 AM8/15/11
to Google App Engine
I tried to send email from an user that contained dots and it worked.
The original sender that triggered the exception still has this
problem. And also, my app has clients that receive mails from this
address... i believe it would be unprofessional to change it and then
change it back...

Joshua Smith

unread,
Aug 15, 2011, 7:59:02 AM8/15/11
to google-a...@googlegroups.com
I'm still seeing this error. Google team: Can you give us an ETA for this fix?

If you think it's going to take days to fix, I'll set up a non-dot email to send the emails, but if you think it'll be fixed soon, I won't bother (I always send email in a task queue task because email throws so many bizarre exceptions, so they're just sitting there retrying…)

(I'm hesitant to implement the non-dot work-around, since my users might not get those emails because they've never seen a message from that address before, and therefore it may be considered spam. I'd rather that they get them late than not at all.)

-Joshua

bFlood

unread,
Aug 15, 2011, 9:20:31 AM8/15/11
to Google App Engine
yea, is there an ETA? should we all just switch to different accounts
for email?

Johan Euphrosine

unread,
Aug 15, 2011, 9:27:24 AM8/15/11
to google-a...@googlegroups.com
FYI,

This is being tracked here:
http://code.google.com/p/googleappengine/issues/detail?id=5575

I will update the issue once I have any update from the engineering team.

> --
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>

--
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations

Big Data

unread,
Aug 14, 2011, 3:21:57 PM8/14/11
to Google App Engine
You will experience this problem if you are sending mail from a
gmail.com account. You can fix by using an email account from a Google
Apps domain.

http://code.google.com/p/googleappengine/issues/detail?id=5575

Is not exactly what is stated here but it seems to fix the problem.

http://googleappengine.blogspot.com/2011/05/app-engine-150-release.html

On Aug 13, 4:16 pm, Vivek Ramachandran
<vivek.securitywiz...@gmail.com> wrote:
> Is this resolved for anyone yet?
>
> I am still seeing errors in my application.
>
> Funny that the mail API status seems ok:http://code.google.com/status/appengine
>
> On Sat, Aug 13, 2011 at 6:01 PM, Vivek Ramachandran <
>
>
>
>
>
>
>
>
>
> vivek.securitywiz...@gmail.com> wrote:
> > Same issue here as well.
>
> > Is this nearing a resolution?
>
> > Vivek
>
> > 2011/8/13 Andrei Cosmin Fifiiţă <andrei.fifi...@gmail.com>

Joshua Smith

unread,
Aug 15, 2011, 10:21:39 AM8/15/11
to google-a...@googlegroups.com
FYI:

As a workaround, I tried adding the same gmail address I've been using, but without the .'s in it, as a developer.

No dice. It let me accept the invitation, but then the new non-dot developer disappeared from the Permissions list.

So, apparently, GAE recognized that the two emails were actually the same google account.

On the advice of google (over at the production issue report), I've rejiggered my app to send from a different email account, and notified my users of the change.

-Joshua

Vivek Ramachandran

unread,
Aug 15, 2011, 10:49:18 AM8/15/11
to google-a...@googlegroups.com
+1 I am still this error even after 2 days now!! 

Can someone from the appengine team tell us, when this will be solved? 

Vivek



--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Ashley Schroder

unread,
Aug 15, 2011, 5:36:19 PM8/15/11
to Google App Engine
I wasn't seeing the unauthorized sender error, but by creating a new
email account with no dots/dashes, setting it as a developer and using
it to send in my app, emails have started working again.

Hani Naguib

unread,
Aug 16, 2011, 2:09:27 PM8/16/11
to Google App Engine
I also have the same problem, and my email does indeed have a dot in
it.
My problem is that changing that email is going to be a pain, so a fix
would be nice.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages