Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two Google mail accounts: my main account (myself@gmail.com) and a Google Apps account (myself@g.mydomain.com). I would like to use my primary gmail.com address to sign in and receive all mail, but still be able to send mail from an alias of my Google Apps account (myself_fullname@mydomain.com as opposed to myself@g.mydomain.com).

Gmail provides these settings:

If I choose "Send through Gmail", I can send from myself_fullname@mydomain.com, but recipients see "sent by myself@gmail.com on behalf of myself_fullname@mydomain.com".

If I choose "Send through mydomain.com SMTP servers", then I'm forced to use the following SMTP settings:

This removes the "on behalf of" header, but now my emails are sent from myself@g.mydomain.com rather than my alias myself_fullname@mydomain.com.

Is there any way to use the alias, but avoid "on behalf of"?

share|improve this question

I found that the only solution was to create another user, for which the primary email uses the alias domain.

In your case, connect to the admin console for g.mydomain.com.

  • First, remove the email alias you say you have set up for your first account.

  • Create a new user with the same name as the first account, and for its primary email address you should be able to choose @mydomain.com.

  • Log in with this new account (the username should be myself_fullname@mydomain.com), set your password and don't forget to enable mail forwarding.

  • Finally, set the settings of your Gmail account (myself@gmail.com) that you mentioned to :

    • SMTP Server: smtp.gmail.com
    • Username: myself_fullname@mydomain.com
    • Password: the new password

Job done.

share|improve this answer
Thats working. good idea. – Eugine Joseph Sep 15 '14 at 8:10

Here's the answer and great instructions:

Work around for using Gmail Alias with Forwarding Email Addresses http://ellisbenus.com/web-design-columbia-mo/workaround-using-gmail-alias-forwarded-email-addresses/

It worked for me on 2014-10-15.

share|improve this answer
Please don't give link-only answers. Include the the basic steps here and link to external sites as reference. If it's you who wrote the page feel free to disclaim that. – Andrew Lott Oct 16 '14 at 8:49
No longer works, that part of Google is gone – jetlej Sep 21 '15 at 20:14
@jetlej - Yes this does work as of today. Essentially, you just generate a password using the app password generator (I don't think it matters which app you choose) and put that in the window requesting a password, instead of your normal gmail password. You're sort of tricking gmail into using itself as your mail server instead your own. I think Marcus just included a link as the instructions themselves are a bit involved and already well detailed on the site he links to. – GenericJam Feb 12 at 18:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.