In the sendgrid php example here http://sendgrid.com/docs/Code_Examples/php.html you have the ability to add sender's email but not the sender's name. So say for example if the name of the sender is assigned variable $name, how can I properly add it to the example so that the sender's name is shown as, for example, Bob rather than just [email protected]?
Thanks!
Turns out the answer is
setFromName($name)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With