php – Send emails with phpmailer and gsuite accounts

Very good friends, because that, I need help to send emails that are not taken as spam in the recipient with phpmailer and a gmail gsuite account from a godaddy server, I understand that godaddy blocks this type of outgoing emails but there must be some way to send it , I've tried everything and it doesn't work, it always goes to spam.
my code.

define('SMTP_HOST', 'xxxx.prod.xxxx.secureserver.net');
define('SMTP_PORT', 465);
define('SMTP_USERNAME', 'xxx@xxxx.mx');
define('SMTP_PASSWORD', 'xxxxxxxxx');
define('SMTP_AUTH', true);

$email = $_POST('correo');
$asunto_mail = 'Evento';
$msj = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
$mail = new PHPMailer;
$mail->isSMTP();
$mail->SMTPDebug = 0;
$mail->SMTPAuth = SMTP_AUTH;
$mail->SMTPSecure = 'ssl';
$mail->Host = SMTP_HOST;
$mail->Port = SMTP_PORT;
$mail->Username = SMTP_USERNAME;
$mail->Password = SMTP_PASSWORD;
$mail->SetFrom(SMTP_USERNAME, $asunto_mail);
$mail->Subject = "Solicitud de xxxxxx";
//$mail->AltBody = "To view the message, please use an HTML compatible email viewer!";
$mail->MsgHTML($msj);
$mail->AddAddress($email, $nombre_mail);
if (!$mail->send()) {
    //para debug (visualizacion de errores)
    //return $mail->ErrorInfo;
    return false;
}
return true;     

I hope you can help me, thanks

Migration: Migrate SharePoint sites to GSuite sites

I am trying to migrate all SharePoint 2013 content from our current farm to GSuite using the G Suite migration tool, but this tool is still in beta and documentation is limited. So, I was wondering if any of you have any experience with the previous scenario and especially on how to migrate SharePoint sites and pages to G sites.

gmail: my email address inherited from G-Suite stopped receiving all emails

I set up a G Suite account for the domain of an organization that I had when it was a free service. I am effectively protected now for life; Google now refers to it as an "inherited G Suite account." For all intents and purposes, it is just a normal G Suite account; I just don't get billed for it, but I don't receive support from Google either.

Recently I noticed that my email address no longer received any email. If I log in to that account and send me a message, that's the only thing that works. Trying to send an email from any other account on all the results in a bounce with this message:

530 SMTP authentication is required.

I have no idea how to solve this, frankly. This email address has worked for a long time and this is only a recent result. I definitely haven't been playing with any settings, so I'm not sure what change happened at the end of Google that would have caused this. Any ideas on how to fix this, so you can start receiving email again?

Google applications – SSO via SAML GSuite to DocuSign – Access cannot be restricted

I am configuring SSO through SAML GSuite for DocuSign and I have problems limiting the creation of user accounts to users in a group. I have successfully tested the provisioning of users and users within my domain can use SSO to log in to DocuSign effectively. However, ALL users with my domain can go to DocuSign.net, enter their email and DocuSign uses their domain credentials to automatically create an account and / or log in.

I am following the configuration in these documentation:

In addition, in DocuSign, the Domain configuration is set to "Prevent unmanaged records", "Require all users to authenticate with the Identity Provider" and "Automatically activate memberships by default for Organization accounts". According to a DocuSign Support technician, the IdP (GSuite) must authenticate the domain and then verify if the user has access. DocuSign documentation states "Avoid unmanaged records: domain users cannot create individual accounts using their corporate email address. These users can only be added to accounts linked to your organization. They must be created by your administrator or the Identity Provider. " Therefore, it seems that the problem is that GSuite is allowing my entire domain to access the DocuSign SAML application.

According to GSuite documentation, some applications / services may be available for some groups.

However, the option to activate the service for groups is not available for SAML applications. Is there any other way to restrict access to a certain group using more than just Organizational Units?

How to show the display name in the top right of gsuite gmail, just like normal gmail

Show the name of the gmail account and the profile image displayed

Show the name in the name of the gmail account unfolded

enter the description of the image here

First name do not unfolded in gsuite gmail account in the top right

I went to the personal information account and there I have the name Jaswir FeatherHatGames

g suite – Merge GSuite accounts

I have about 10 clients for whom I manage gsuite accounts. In each of these accounts I have an admin@domain.com account that I use to manage the domain. I thought about it today and that means that I am paying $ 720 a year for accounts that I do not use more than to administer to its users. I would prefer to save that money.

It is possible to merge all these accounts into one main account and each account is its own sub-organizational unit. As far as I can tell, they could not see or have access to files, etc. The only thing they could not have is a custom logo in their gmail.

Can you do this? Should it be done? How could I do it?

How to export all the members and groups of gsuite for my domain?

I'm a super administrator of a free Google Legacy account.

I'm trying to export all the groups, and their members.

What is the easiest way to do this? I tried using a couple of "free" domain applications but none of them worked.

wordpress – Gmail API with WP SMTP Plugins that are not sent to Gsuite "groups"

When we use SMTP add-ons for WordPress with the Gmail API, we can not receive emails generated by WP in the email addresses of our group sales@example.com or info@example.com, such as product inquiries, order emails or emails of contact forms.

Without SMTP, all emails to groups will be delivered correctly and for the last 3 years. When the smtp plugin is active and configured according to these help documents, we do not receive emails generated by WP.

We have tried https://wordpress.org/plugins/gmail-smtp/ and also https://wordpress.org/plugins/wp-mail-smtp/

These are the associated help documents, respectively: https://wphowto.net/gmail-smtp-plugin-for-wordpress-1341, https://wpforms.com/how-to-securely-send-wordpress-emails- using -gmail-smtp /

The desired result is simply that WP can send emails associated with the emails of our group and receive them. I checked the gsuite registry and they do not even show it, so it seems that the Gmail API is intercepting them and is never sending them to the emails of our Gsuite group.

Here is the code I saw when debugging:

2019-04-03 21:18:25 Connection: opening to smtp.gmail.com:587,
timeout = 300, options = array () 2019-04-03 21:18:25 Connection: open
2019-04-03 21:18:25 SMTP -> get_lines (): $ data is "" 2019-04-03
21:18:25 SMTP -> get_lines (): $ str is "220 smtp.gmail.com ESMTP
c18sm9527617qkk.1 – gsmtp "2019-04-03 21:18:25 SERVER -> CLIENT: 220
smtp.gmail.com ESMTP c18sm9527617qkk.1 – gsmtp 2019-04-03 21:18:25
CLIENT -> SERVER: EHLO dev.equusport.com 2019-04-03 21:18:25 SMTP ->
get_lines (): $ data is "" 2019-04-03 21:18:25 SMTP -> get_lines (): $ str
is "250-smtp.gmail.com at your service, [67.205.36.40]"2019-04-03
21:18:25 SMTP -> get_lines (): $ data is "250-smtp.gmail.com in your
Service, [67.205.36.40]"2019-04-03 21:18:25 SMTP -> get_lines (): $ str
is "250-SIZE 35882577" 2019-04-03 21:18:25 SMTP -> get_lines (): $ data
is "250-smtp.gmail.com at your service, [67.205.36.40]250-SIZE
35882577 "2019-04-03 21:18:25 SMTP -> get_lines (): $ str is
"250-8BITMIME" 2019-04-03 21:18:25 SMTP -> get_lines (): $ data is
"250-smtp.gmail.com at your service, [67.205.36.40]250-SIZE
35882577250-8BITMIME "2019-04-03 21:18:25 SMTP -> get_lines (): $ str is
"250-STARTTLS" 2019-04-03 21:18:25 SMTP -> get_lines (): $ data is
"250-smtp.gmail.com at your service, [67.205.36.40]250-SIZE
35882577250-8BITMIME250-STARTTLS "2019-04-03 21:18:25 SMTP ->
get_lines (): $ str is "250-IMPROVED STATUSCODES" 2019-04-03 21:18:25
SMTP -> get_lines (): $ data is "250-smtp.gmail.com at your service,
[67.205.36.40]250-SIZE
35882577250-8BITMIME250-STARTTLS250-IMPROVED STATE STATUSCODES "2019-04-03
21:18:25 SMTP -> get_lines (): $ str is "250-PIPELINING" 2019-04-03
21:18:25 SMTP -> get_lines (): $ data is "250-smtp.gmail.com in your
Service, [67.205.36.40]250-SIZE
35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING "
2019-04-03 21:18:25 SMTP -> get_lines (): $ str is "250-CHUNKING"
2019-04-03 21:18:25 SMTP -> get_lines (): $ data is "250-smtp.gmail.com
at your service, [67.205.36.40]250-SIZE
35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING "
2019-04-03 21:18:25 SMTP -> get_lines (): $ str is "250 SMTPUTF8"
2019-04-03 21:18:25 SERVER -> CLIENT: 250-smtp.gmail.com in your
Service, [67.205.36.40]250-SIZE
35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250
SMTPUTF8 2019-04-03 21:18:25 CLIENT -> SERVER: STARTTLS 2019-04-03
21:18:25 SMTP -> get_lines (): $ data is "" 2019-04-03 21:18:25 SMTP ->
get_lines (): $ str is "220 2.0.0 Ready to start TLS" 2019-04-03
21:18:25 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS 2019-04-03
21:18:25 CLIENT -> SERVER: EHLO dev.equusport.com 2019-04-03 21:18:25
SMTP -> get_lines (): $ data is "" 2019-04-03 21:18:25 SMTP ->
get_lines (): $ str is "250-smtp.gmail.com at your service,
[67.205.36.40]"2019-04-03 21:18:25 SMTP -> get_lines (): $ data is
"250-smtp.gmail.com at your service, [67.205.36.40]"2019-04-03
21:18:25 SMTP -> get_lines (): $ str is "250-SIZE 35882577" 2019-04-03
21:18:25 SMTP -> get_lines (): $ data is "250-smtp.gmail.com in your
Service, [67.205.36.40]250-SIZE 35882577 "2019-04-03 21:18:25 SMTP ->
get_lines (): $ str is "250-8BITMIME" 2019-04-03 21:18:25 SMTP ->
get_lines (): $ data is "250-smtp.gmail.com at your service,
[67.205.36.40]250-SIZE 35882577250-8BITMIME "2019-04-03 21:18:25 SMTP
-> get_lines (): $ str is "250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH" 2019-04-03 21:18:25 SMTP ->
get_lines (): $ data is "250-smtp.gmail.com at your service,
[67.205.36.40]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN
XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH "2019-04-03 21:18:25 SMTP
-> get_lines (): $ str is "250-IMPROVED STATUSCODES" 2019-04-03 21:18:25 SMTP -> get_lines (): $ data is "250-smtp.gmail.com at your service,
[67.205.36.40]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN
XOAUTH2 CLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-IMPROVED STATE STATUSCODES "
2019-04-03 21:18:25 SMTP -> get_lines (): $ str is "250-PIPELINING"
2019-04-03 21:18:25 SMTP -> get_lines (): $ data is "250-smtp.gmail.com
at your service, [67.205.36.40]250-SIZE 35882577250-8BITMIME250-AUTH
LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER
XOAUTH250-IMPROVED STATUSCODES250-PIPE "2019-04-03 21:18:25 SMTP
-> get_lines (): $ str is "250-CHUNKING" 2019-04-03 21:18:25 SMTP -> get_lines (): $ data is "250-smtp.gmail.com at your service,
[67.205.36.40]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN
XOAUTH2 CLAIN-CLIENTTOKEN OAUTHBEARER
XOAUT250-IMPROVED STATUSCODES250-PIPELINING250-CHUNKING "2019-04-03
21:18:25 SMTP -> get_lines (): $ str is "250 SMTPUTF8" 2019-04-03
21:18:25 SERVER -> CLIENT: 250-smtp.gmail.com at your service,
[67.205.36.40]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN
XOAUTH2 CLAIN-CLIENTTOKEN OAUTHBEARER
XOAUTH250-IMPROVED STATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2019-04-03 21:18:25 Authentication method requested: XOAUTH2 2019-04-03 21:18:25
Authentication methods available on the server:
LOGIN, PLAIN, XOAUTH2, PLAIN-CLIENTTOKEN, OAUTHBEARER, XOAUTH 2019-04-03
21:18:25 CLIENT -> SERVER: EXIT 2019-04-03 21:18:25 SMTP ->
get_lines (): $ data is "" 2019-04-03 21:18:25 SMTP -> get_lines (): $ str
is "221 2.0.0 closing connection c18sm9527617qkk.1 – gsmtp" 2019-04-03
21:18:25 SERVER -> CLIENT: 221 2.0.0 connection closure
c18sm9527617qkk.1 – gsmtp 2019-04-03 21:18:25 Connection: closed

g suite – Gsuite audit activity link to mobile device

We recently had someone who deleted all the files from a shared Google Drive account in our gsuite. We were able to recover the files, but I want to prove who did it if possible.

Is there a way to link the activities listed in the Drive Audit records to a specific mobile device in the organization?