Sender Name in Sendgrid not working for Single Sender Verification

569 Views Asked by At

I am trying to use the custom sender name in the email that is being displayed. I just want to change the display name of the sender's name. For instance, if I have: [email protected] The name displayed is: abc.

I want a custom name like: Sender_abc

This is how I am updating the message:

message = Mail(
        from_email=Email(from_email, from_name),
        subject=subject
    )

This code works fine for Domain Authentication and shows the custom name but doesn't work when I try to use it with Single Sender Verification.

Here is the later part of the code for getting the response:

response = sg.client.mail.send.post(request_body=message.get())
0

There are 0 best solutions below