dreamskeron.blogg.se

How to send email as alias in gsuite
How to send email as alias in gsuite






how to send email as alias in gsuite
  1. How to send email as alias in gsuite how to#
  2. How to send email as alias in gsuite code#

I notice that sent emails from the site do not appear in the sent folder.

How to send email as alias in gsuite code#

To answer my own question, for anyone else reading this, once you add the settings to the wp-config file, it automatically sets the settings in the plugin, you don’t have to do anything at all in the plugin.Ī direct copy and paste of your code however, does not work, so I’ve copy and pasted the correct syntax: define( 'WPMS_ON', true ) ĭefine( 'WPMS_MAIL_FROM_NAME', 'John Doe' ) ĭefine( 'WPMS_MAIL_FROM_NAME_FORCE', true ) ĭefine( 'WPMS_SMTP_HOST', '' ) Hi again, thanks for providing this information.

how to send email as alias in gsuite

And it works, so I’ll take it as a win for now. Obviously, it would be nice to use OAuth instead of having to hard-code my GSuite password into wp-config but as G SUite Support told me, the GMail API isn’t officially supported by GSuite. In the Send mail as section, click Add another email address. While signed in to your G Suite account, click the gear icon at the upper-right, then select Settings. Then open up the wp-config.php file of your site and put the following at the bottom:ĭefine( ‘WPMS_MAIL_FROM’, ‘’ ) ĭefine( ‘WPMS_MAIL_FROM_NAME’, ‘’ ) ĭefine( ‘WPMS_MAIL_FROM_NAME_FORCE’, true ) ĭefine( ‘WPMS_SMTP_HOST’, ‘’ ) ĭefine( ‘WPMS_SMTP_USER’, ‘’ ) ĭefine( ‘WPMS_SMTP_PASS’, ‘’ ) If you have a Cornell Optional Email Alias (a name-based version of your NetID address), you can set your G Suite account to send messages that come from either address. Only accept mail from the specified IP addresses: Īllowed IP addresses: From there, look for ‘SMTP relay service’.Įnable the service then set the following, deleting and replacing with your info:Īllowed senders: Only addresses in my domains In G Suite Admin, go to Apps/G Suite/Gmail then scroll down and select ‘Advanced Settings’. It will only work for G Suite so I’m afraid I can’t help with regular Gmail accounts but here’s how I did it. Well, in case it helps anyone else, I’ve got it working.

how to send email as alias in gsuite

I’ve been round the houses for weeks trying to find a solution to this problem but, while it seems like something that a lot of others were having issues with, no one had a solution. It sends emails fine but they always send from my main G Suite address and profile picture rather than the alias which I wanted it to. You will see all of your google apps here.

How to send email as alias in gsuite how to#

Like, evidently, many others, I’ve been having real issues with setting this plugin up to work with G Suite. How to Add an Email Alias in Gmail with Google Workspace (Gsuite) The how to create an alias in gmail is pretty simple, just follow these steps Step 1) Go to your Google Admin Console.








How to send email as alias in gsuite