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

Add optional from name and reply-to fields to web and smtp API calls #5

Merged
merged 2 commits into from
Jun 18, 2012
Merged

Add optional from name and reply-to fields to web and smtp API calls #5

merged 2 commits into from
Jun 18, 2012

Conversation

theycallmeswift
Copy link
Contributor

Added optional fromname and repyto fields for both Web and SMTP. (This is fixes #3 and #4, and partially closes #2).

Usage:

$mail = new SendGrid\Mail();

$mail->addTo('john.doe@sendgrid.com')->
       setReplyTo('swift@sendgrid.com')->
       setFrom('me@bar.com')->
       setFromName('Swift')->
       setSubject('Subject goes here')->
       setText('Hello World!');

@theycallmeswift
Copy link
Contributor Author

Got a lgtm from @brandonmwest. Merging.

theycallmeswift added a commit that referenced this pull request Jun 18, 2012
Add optional from name and reply-to fields to web and smtp API calls

Closes #4
Closes #5

WIP #3
@theycallmeswift theycallmeswift merged commit c0da924 into sendgrid:master Jun 18, 2012
@Paulens007 Paulens007 mentioned this pull request Feb 25, 2018
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

Successfully merging this pull request may close these issues.

Missing web api params
1 participant