Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to auth using Google Apps #6

Closed
RayHughes opened this issue Jan 21, 2016 · 12 comments
Closed

Unable to auth using Google Apps #6

RayHughes opened this issue Jan 21, 2016 · 12 comments

Comments

@RayHughes
Copy link

When attempting to auth using a Google Apps gmail account (custom domain), the connection is refused as it not "secure". Attempted both tls and ssl. No issues with standard gmail accounts. Research points to it requiring oauth.

There is a work around available, you can elect to make your account less secure in the settings, but other features may be disabled. Sometimes a reduction in security for a feature is not an option.

@KorsaR-ZN
Copy link
Contributor

@RayHughes Could you please show the configuration for mailer component?

@RayHughes
Copy link
Author

Here is my implementation. Apologize for the delay. If needed I can create an account in my apps account for you to test.

$config = [
    'driver'     => 'smtp',
    'host'       => 'smtp.gmail.com',
    'port'       => 587,
    'encryption' => 'tls',
    'username'   => 'email@domain',
    'password'   => 'pass',
    'from'       => [
        'email' => 'email@domain',
        'name'  => 'name'
        ]
];

$message = $mailer->createMessage()
    ->to('somewhere@domain.com', 'Someone')
    ->subject('Contact Form')
    ->content('Hello World');

$message->send();

@KorsaR-ZN
Copy link
Contributor

@RayHughes Yes, please create an account in your apps for me to test, and send account details to my email

@RayHughes
Copy link
Author

Account details have been generated and sent to your email @KorsaR-ZN

@KorsaR-ZN
Copy link
Contributor

@RayHughes I apologize for the delay, i had to leave...
Account that you created me does not work anymore?

@RayHughes
Copy link
Author

I will deactivate it in a bit

Sent from my iPhone

On Feb 28, 2016, at 12:08 PM, Stanislav Kiryukhin notifications@github.com wrote:

@RayHughes I apologize for the delay, i had to leave...
Account that you created me does not work anymore?


Reply to this email directly or view it on GitHub.

@KorsaR-ZN
Copy link
Contributor

@RayHughes You could enable it on again?

@KorsaR-ZN
Copy link
Contributor

@RayHughes Try to use instead of a password, use token (see)

@RayHughes
Copy link
Author

Do you still need the account?

@KorsaR-ZN
Copy link
Contributor

Yes, if the issues is not solved yet ..

@RayHughes
Copy link
Author

I have not tried. I will work on this weekend and recreate the user if
needed.

On Fri, Mar 4, 2016 at 10:28 AM, Stanislav Kiryukhin <
notifications@github.com> wrote:

Yes, if the issues is not solved yet ..


Reply to this email directly or view it on GitHub
#6 (comment).

@KorsaR-ZN
Copy link
Contributor

@RayHughes Ok, i then waiting feedback...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants