Add a user with a Google Apps domain alias

84 views
Skip to first unread message

Pieter Coucke

unread,
Oct 7, 2011, 10:52:37 AM10/7/11
to google-a...@googlegroups.com
Hi,

How can I send e-mails from my app with the same domain name as my app
if the domain name is a Google Apps domain alias?


A description of my steps:

I want to send e-mails from my app with an e-mail address that is the
same as my custom domain name for my app, but I am not able to add the
user. I registered a domain alias for my app, say
www.mydomainalias.com.  mydomainalias.com is a Google Apps domain
alias for my real Google Apps domain mydomain.com.

When I try to add nor...@mydomainalias.com as a user with permission
"viewer" to my app, I do get the e-mail with the confirmation link in
my nor...@mydomain.com account.
When I click the confirmation link
(https://appengine.google.com/a/mydomainalias.com/permissions/newadmin?app_id=s~my-app-id&token=sometoken=)
I get the following error message:
"Sorry, you've reached a login page for a domain that isn't using
Google Apps. Please check the web address and try again."  This is
understandable since I should log in with my primary Google Apps
domain according to
http://www.google.com/support/a/bin/answer.py?hl=en&answer=33419 .

When I change the confirmation link to
https://appengine.google.com/a/mydomain.com/permissions/newadmin?app_id=s~my-app-id&token=sometoken=
then I can add the user, but then the e-mail address that is added is
nor...@mydomain.com, and not nor...@mydomainalias.com .

Has anyone seen something similar (and has a workaround)?

Thanks,

Pieter Coucke

voscausa

unread,
Oct 7, 2011, 11:28:15 AM10/7/11
to google-a...@googlegroups.com
It works fine (for me) when you register your custom domain as a  google apps domain.
I use f.i. nor...@mycustomdomain.com where this address has a Viewer rol in GAE permissions.

I think your alias trick does not work, because GAE needs to be sure you are the owner of the custom domain.

Aaron Antrim

unread,
Apr 22, 2014, 1:51:19 PM4/22/14
to google-a...@googlegroups.com, pieter...@onthoo.com
I am having the same problem, I believe.

I have a Google Apps domain.

Did you ever find a resolution to this problem?

Thanks,
Aaron

Vinny P

unread,
May 6, 2014, 1:55:48 AM5/6/14
to google-a...@googlegroups.com
On Tue, Apr 22, 2014 at 12:51 PM, Aaron Antrim <aa...@trilliumtransit.com> wrote:
I am having the same problem, I believe.



You can't send mail from App Engine using a domain alias's name. If you want to do so, you'll have to sign up for SendGrid or a similar external mail service and send through them: http://sendgrid.com/blog/5-best-practices-for-using-sendgrid-with-google-app-engine/ 
 
 
-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com
  
Reply all
Reply to author
Forward
0 new messages