0

I really need someone who knows how to set up new projects in Google Cloud inside and out for a definitive answer. I'm setting up a new project in Google Cloud so that I can Send Emails in WordPress using the Gmail SMTP Server.

Every time I try to create any new project, I get a generic error message telling me that I need to select a parent organization or location.

Error message states:

You don’t have the required resource manager project create permission to create projects in this location.

Since I'm not able to create this new project, I'm also not able to complete the Gmail SMTP Server Setup.

Any insight would be greatly appreciated.

Dave M
  • 4,494
  • 21
  • 30
  • 30
  • I was going to post a question there but Super User is for computer enthusiasts if you have a question about … computer hardware, computer software, or personal and home computer networking – Marcia Turley Jun 30 '21 at 11:34
  • @MichaelHampton i think last one lol – djdomi Jun 30 '21 at 11:37
  • 1
    I don't this falls under the home computer networking category... there's others here who've asked similar questions to the one I posted. – Marcia Turley Jun 30 '21 at 11:52
  • Hello @MarciaTurley. Does any of the below answers [helped you](https://stackoverflow.com/help/someone-answers)? – Wytrzymały Wiktor Sep 30 '21 at 07:49

2 Answers2

0

You're not able to create a new project because of lack of permissions.

Please have a look at the documentation Creating a project:

To create a project, you must have the resourcemanager.projects.create permission. This permission is included in the Project Creator roles/resourcemanager.projectCreator role, which is granted by default to the entire domain of a new organization and to free trial users. For information on how to grant individuals the role and limit organization-wide access, see the Managing Default Organization Roles page.

To solve this issue add this role at the Organization level.


Unfortunately, you won't be able to send email directly from your VM.

Please have a look on the documentation Sending email from an instance:

Due to the risk of abuse, connections to destination TCP Port 25 are always blocked when the destination is external to your VPC network. This includes using SMTP relay with Google Workspace.

As a result, port 25, which is used by Simple Mail Transfer Protocol, is blocked:

Most mailbox providers still allow submission on traditional port 25. The MSA delivers the mail to its mail transfer agent (mail transfer agent, MTA).

As a workaround, to send emails you should follow the documentation and use email relays like SendGrid, Mailgun or Mailjet or your Google Workspace domain.

Serhii Rohoza
  • 1,354
  • 2
  • 4
  • 14
0

In order to create projects you need resourcemanager.projects.create permission or roles/resourcemanager.projectCreator role.
Both can be granted by your organization admin like in this case.
To find out who is your Organization Administrator, open https://console.cloud.google.com/iam-admin/iam?project=YOUR_PROJECT_NAME


As mentioned by @Serhii, port 25 is blocked and cannot be opened by adding a firewall rule.
You can set up your email server to use port 587 or 465 as seen here.
Alternatively, you can send your emails through Workspace.

Sergiusz
  • 310
  • 2
  • 13