Technical support This forum is closed.
Version 1.x > Technical support > Newsletter subscription error View modes: 
User avatar
Guest
redactuk - 11/15/2006 1:45:42 PM
   
Newsletter subscription error
I've added the NewsLetter control to a new page and it works fine in that any new subscription are added correctly to the database, but after Subscrive is clicked I get error message:

An error occurred - you haven't been subscribed.

Whys is this occuring? Is it because it is trying to submit an email notification? If so what should I be checking?

User avatar
Guest
admin - 11/16/2006 10:10:59 AM
   
Re: Newsletter subscription error
Yes, this usually happens if the e-mail message with subscription confirmation cannot be sent. I would suggest that you verify the CMSSMTPServer value in your web.config and that you make sure the e-mails can be send e.g. from the forms created with BizForms module. You may also want to check the sender e-mail address for your newsletter and make sure this e-mail address is allowed to send e-mails through your SMTP server.

Regards,

User avatar
Guest
redactuk - 11/20/2006 1:24:52 PM
   
Re: Newsletter subscription error
In the Developers Guild you have a section called "SMTP Server Configuration". When I changed the Connection and Relay sections to options specified my out-going email worked. My concern however is that surely these settings pose a security risk? I had previously had a single entry in each list for the IP address of the server. Excuse my ignorance on this, but why was this not sufficient for CMS?

Thank you

User avatar
Guest
admin - 11/22/2006 11:14:37 PM
   
Re: Newsletter subscription error
You can configure SMTP more restrictively as long as it's able to send e-mails from ASP.NET applications.

Best Regards,