Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Ksenia Breitenmoser
Ksenia Breitenmoser
20,874 Points

PHPMailer doesn't send an email. Just redirects.

Guys! when I send email I am redirected to index.php, but there is no information about my email (subject etc.) instead written "Logs are empty" just like as if I never sent email. Checked everything. Compared with Alena's code. Please have a look at my composer.json.

{
    "require": {
        "phpmailer/phpmailer": "^5.2.2",
        "league/oauth2-google": "^2.0"

    }
}

When running composer show: guzzlehttp/guzzle 6.3.3 Guzzle is a PHP HTTP client library guzzlehttp/promises v1.3.1 Guzzle promises library guzzlehttp/psr7 1.4.2 PSR-7 message implementation that al... league/oauth2-client 2.3.0 OAuth 2.0 Client Library league/oauth2-google 2.2.0 Google OAuth 2.0 Client Provider for... paragonie/random_compat v2.0.17 PHP 5.x polyfill for random_bytes() ... phpmailer/phpmailer v5.2.26 PHPMailer is a full-featured email c... psr/http-message 1.0.1 Common interface for HTTP messages

Would very much appreciate some help. Thanks a lot