Skip to content

nylas-samples/php_send_and_read_emails

Repository files navigation

Related to the livestream https://www.youtube.com/watch?v=MteeGtWaK54&t=11s

To intall PHP dotenv and be able to access .env files

$ composer require vlucas/phpdotenv

You'll need the following values:

V3_API_KEY = ""

Add the above values to a new .env file:

$ touch .env # Then add your env variables

To run the PHP Web Server

$ php -S 127.0.0.1:8000

And call:

http://localhost:8000/SendEmail_V3.php

To run the script

php ReadInbox.php

About

Send and Read emails using PHP and the Nylas APIs

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages