Hi,

On Tue, Mar 9, 2010 at 3:06 PM, markm208 <[email protected]> wrote:

> I would like my app to be able to send mail from a user's account on
> behalf of a user. I know you can do this in app engine if the user has
> a gmail account. My app will target schools and businesses who use
> google apps but may not have a gmail address. In this case the domain
> would be something like this:
>
> mail.google.com/a/myschool.edu/
>
> Now for my simple questions:
> 1. Can my app send an email from an address like [email protected]? I
> think the answer is yes as long as I know the domain- myschool.edu in
> this case. AuthDomain is passed into the User constructor.
>

Only if you set up your app to authenticate Google accounts, and the user
has created a Google account for their email address.


> 2. If all I know is the user's email, [email protected], can I figure
> out the authDomain 100% of the time? In other words, is it safe to say
> that myschool.edu will always have a domain like mail.google.com/a/
> myschool.edu/ ? Will [email protected] have the domain
> mail.google.com/a/yourschool.edu/ ?
>

Your app only has one auth domain - so this doesn't apply.

-Nick Johnson


> 3. Can I create a login url for a school's domain?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to