Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9268421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:48:34+00:00 2026-06-18T14:48:34+00:00

In the sendgrid php example here http://sendgrid.com/docs/Code_Examples/php.html you have the ability to add sender’s

  • 0

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 bob@email.com?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T14:48:35+00:00Added an answer on June 18, 2026 at 2:48 pm

    Turns out the answer is

    setFromName($name)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using sendgrid and nodemailer trying to send an HTML email. here is
At the top of my index.php file I have: require('sendgrid-php/SendGrid_loader.php'); And at the bottom
{email:test@example.com,timestamp:1346345321,newsletter:{newsletter_user_list_id:3648511,newsletter_id:613267,newsletter_send_id:657025},category:[EST_TEST,Newsletter],event:open} I'm having trouble parsing this string. It's from Sendgrid's Event API, it seems
I am using SendGrid and PHP (CakePHP). My server does not have SMTP enabled.
I'm trying to do the following using the latest SendGrid php information found here.
I have an older version of PHP (5.2.6). SendGrid SMTP APIs require at least
Some confusion here. Using devise:invitable, and sending emails from heroku with the sendgrid add
I am using the PHP library for Sendgrid (https://github.com/sendgrid/sendgrid-php). Following the instructions, I had
I am trying to send mail with SendGrid in yii php framework. Here is
I am trying to use SendGrid's Event Notification App (http://sendgrid.com/documentation/display/apps/EventNotification) for emails of certain

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.