I'm using aws-sdk-for-php and using AmazonSES for sending email. The problem is I want to set the name for the email. Example:
指定 < email_address >
Here my source code:
$mailer = new \AmazonSES( $aws_config ); $response = $mailer->send_email($mail_data['from'],$mail_data['to']);
Attributes in emails sent from Accredible can be found in email templates: Click on 'Emails' at the top of the Accredible Dashboard. Click on 'Email Templates' in the lefthand sidebar menu.
If the email is sent to the contact [email protected], whose contact attribute for FIRSTNAME is Paul, the email subject will appear as follow in his inbox: Your From name is the name that appears in your recipients' inbox to identify the sender. Its purpose is to build trust with recipients and generate more openings.
Compare the two approaches below and decide for yourself. Next, go to Users > Active users. Select a user with an active mailbox to access their properties. Then, go to Mail > Edit Exchange properties. Click More options to expand the window to show custom attributes.
Not only do attributes personalize the email to the specific recipient, but they also provide that recipient with access to their new credential Important Note: If you are not already familiar with what attributes are and how they are used in Accredible, we strongly suggest you read our article here before proceeding: A Guide to Attributes
I believe the format you're looking for is as follows:
"John Doe" <[email protected]>
Reference: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/email-format.html
I have resolved the same issue after checking this aws forum link . I was using aws SES for sending mails using java sdk , so I have added the from email id in the application.yml file like below.
from: John Doe <[email protected]>
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