Skip to content

Please add more documentation #18

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

Closed
tacman opened this issue Aug 24, 2018 · 2 comments
Closed

Please add more documentation #18

tacman opened this issue Aug 24, 2018 · 2 comments

Comments

@tacman
Copy link

tacman commented Aug 24, 2018

I've installed the bundle (Symfony4, Flex), looks very helpful.

Can you add some documentation for how to do some simple things, like getting the list of bounced emails, or sending a message through SwifterMailer+SendGrid using the bundle?

I'm not all that familiar with either SwiftMailer or SendGrid, but I'll be able to figure out how to use those components once I understand better how to access those services through this bundle. In particular, do I need a Guzzle/SendGridClient? I'm porting a Symfony2 application that used that, and am not sure how to use this bundle to access the SendGrid API.

@expertcoder
Copy link
Owner

If you want to view information about bounced emails etc, I am sure there is a SendGrid web console where you could view this kind of information. If you wanted to access bounced email or other information pragmatically (eg via your PHP code), I believe this PHP Library could aid with this https://github.com/sendgrid/sendgrid-php

I'm not an active user or contributor to this bundle at the moment, and not sure how clear the documentation is. Perhaps an active contributor might want to put a simple example there?

@tacman Unfortunately there are sometimes bundles/libraries out there that require a bit of intuition or experimentation to use as no one had had the chance to write concise documentation.

Good luck.

@moux2003
Copy link
Collaborator

@tacman This bundle only aim to easily use SendGrid as a transport for Swiftmailer. Any advanced features are (should) be described in https://github.com/sendgrid/sendgrid-php as @expertcoder said.

Once configured if you need to send simple email it's all about SwiftMailer, so please refer to this page https://symfony.com/doc/current/email.html (and just ommit the suggested configuration part because you should already have done it when installed).

Also remember that there is a PR (symfony/recipes-contrib#454) pending that solve an issue (#14) if you used the recipe.

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

3 participants