The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Unable to schedule a campaign when changing the reply-to email address (PHP SDK)

Highlighted
Occasional Contributor

Unable to schedule a campaign when changing the reply-to email address (PHP SDK)

Hi

I've imported the constant contact library into my laravel application using composer: "constantcontact/constantcontact": "3.0.0-alpha"

 

Whenever I change the 'From' or 'Reply-to' email addresses when creating a campaign, a 'Bad Request' is returned.

It's only works when the 'From' and 'Reply-to' email addresses are set to the email address used to log into the account.

 

Also I've noticed that the subject line contains the name of the person who created the account. Is there a way to omit this?

 

Any assistance would be greatly appreciated.

1 REPLY 1
Highlighted
Moderator

Re: Unable to schedule a campaign when changing the reply-to email address (PHP SDK)

Hello @iJET,

 

Thank you for reaching out to Constant Contact's API Support.

 

The reply and/or from email address must be set to an email address that has been verified in the account. To verify a new email address you will need to log in to the website and go to the My Settings section, then at the top click on Verify Address. Here is an article showing how to do this as well.

 

As for the subject line that is something that can be changed each time the email is created. It is a field in the code that should accept a new value. We did not hard code the account owners name in to that field so if that is in there it may be from some piece of code that was added by whoever set up the library on your end.


Regards,
Jimmy D.
Tier II API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured