John Davidson

php - AWS:SNS Email - Customize SNS Subscribe Confirmation Email for any topic

0 comments
Message:


Anyone have an idea, how can I change the SNS subscription confirmation email template?


User Interaction Step By Step to understand the exact question: (All action done using AWS PHP SDK)


1> User A created campaign in AWS: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/sns-examples-managing-topics.html#create-a-topic


2> Added N number of subscribers to the campaign: https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/sns-examples-subscribing-unsubscribing-topics.html#subscribe-an-email-address-to-a-topic


3> All of the subscribers will receive an email from AWS SNS saying that, you have opt-in to the ARN:TOPICNAME. Click on the confirmation link to verify subscription


The question related to this place: When adding a subscriber to the campaign, SNS send an email with a verification link with its own branding. I want to change the template of the email and want to add our own branding to the email. How can I do that?



4> Each subscriber will open the email and confirm a subscription.
Another one:
Is there any way to stop double opt-in as users have prevalidated emails to receive an email from us?


Thank you in advance.



My Answer:
. Create an SNS topic using the AWS PHP SDK.
2. Subscribe an email address to the SNS topic.
3. Receive the subscription confirmation email.
4. Open the email and notice that it is a generic template provided by AWS.
5. Want to customize this email template to include specific branding or messaging.
6. Looking for a way to modify the SNS subscription confirmation email template using the AWS PHP SDK or any other method.

Rate this post

3 of 5 based on 5085 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us