Hello there !
I have integrated my own form in my website. Its working fine. I used below code to add/update/subscribe contact information. It's working great !
$Contact = new Contact();
$Contact->emailAddress = $c_email;
$Contact->firstName = $c_fname;
$Contact->lastName = $c_lname;
$Contact->lists = array($specific_list);
$Contact->notes = $c_msg;
$Contact->workPhone = $c_phno;
$Contact->city = $c_city;
$Contact->postalCode = $c_zip;
$Contact->countryName = $c_country;
$Contact->stateName = $c_state;
$Contact->optInSource = 'ACTION_BY_CONTACT';
$NewContact = $ConstantContact->addContact($Contact);
User is submitting the form and adding the contact details in sepefic folder/list successfully. But i am not receiving email notifications as an admin of my constant contact account. I just want to receive email notifications after user subscription. Please kindly let me know do i need to setup any other settings.
Your help will be highly appreciated.
I am eagerly waiting for your response on it !
Regards,
Thiru !
Hi Thiru,
You can set up your account to send you notifications of new subscribers and unsubscribers each day. This link contains more information about setting that up.
Best Regards,
Shannon W.
API Support Specialist
Thanks for your response !
I have done the following :
Hi Thiru,
Are you not getting any emails at all? The "daily" setting will not send you immediate notification of new contacts--it will only send one update per day.
If you're not getting those emails at all, the problem may be that your mail server is blocking the new subscriber emails. I'd recommend either whitelisting us, or setting the email address to receive the reports to a commonly used webmail service like yahoo or gmail, which wouldn't have an issue delivering the mail.
Best Regards,
Shannon W.
API Support Specialist