Jump to content

Recommended Posts

Posted

I've added an email notification form to my site for updates but when I tested it I got this message ...

 

An error occurred:

 

Email notifications have not been configured! The weblog owner needs to set the EmailVerificationSecret configuration variable in mt.cfg.

 

Can anyone point me in the right direction to set this so people can use the form? I've been all over the MT configuration section and haven't seen it. Unless I'm looking in the wrong place.

Posted

EmailVerificationSecret is a setting in your mt.cfg file:

EmailVerificationSecret

If you are exposing the mt-add-notify.cgi interface to users, allowing them to sign up for site update notifications, you should set this value to something that outsiders would not be able to guess. This allows Movable Type to secure the notification signup process so that visitors have to verify their email addresses.

If the EmailVerificationSecret is not present in your mt.cfg file, you just need to add it (it can be added anywhere - I'd add it to the bottom of the file). If it is present, make sure it is uncommented (does not have a "#" at the beginning of the line).

 

You'd configure the setting like this:

>EmailVerificationSecret secretWord

...with whatever secret word you want to use.

Posted
EmailVerificationSecret is a setting in your mt.cfg file:
EmailVerificationSecret

If you are exposing the mt-add-notify.cgi interface to users, allowing them to sign up for site update notifications, you should set this value to something that outsiders would not be able to guess. This allows Movable Type to secure the notification signup process so that visitors have to verify their email addresses.

If the EmailVerificationSecret is not present in your mt.cfg file, you just need to add it (it can be added anywhere - I'd add it to the bottom of the file). If it is present, make sure it is uncommented (does not have a "#" at the beginning of the line).

 

You'd configure the setting like this:

>EmailVerificationSecret secretWord

...with whatever secret word you want to use.

 

Well, that went well. Now I'm getting this error message when I try to test the form:

 

An error occurred:

 

You need to set the EmailAddressMain configuration value to your own email address in order to use notifications at lib/MT/App/NotifyList.pm line 36.

 

I went in and set the email address to xxxxxxxxxxxx@xxxxxxxxx.net which is the email address I have associated with MT. Not sure what I'm doing wrong now.

 

Edited by TCH-David to obscure e-mail address - don't want those pesky spam bots picking it up! :thumbup1:

Posted
EmailVerificationSecret is a setting in your mt.cfg file:
EmailVerificationSecret

If you are exposing the mt-add-notify.cgi interface to users, allowing them to sign up for site update notifications, you should set this value to something that outsiders would not be able to guess. This allows Movable Type to secure the notification signup process so that visitors have to verify their email addresses.

If the EmailVerificationSecret is not present in your mt.cfg file, you just need to add it (it can be added anywhere - I'd add it to the bottom of the file). If it is present, make sure it is uncommented (does not have a "#" at the beginning of the line).

 

You'd configure the setting like this:

>EmailVerificationSecret secretWord

...with whatever secret word you want to use.

 

Well, that went well. Now I'm getting this error message when I try to test the form:

 

An error occurred:

 

You need to set the EmailAddressMain configuration value to your own email address in order to use notifications at lib/MT/App/NotifyList.pm line 36.

 

I went in and set the email address to xxxxxxxxxxxx@xxxxxxxxx.net which is the email address I have associated with MT. Not sure what I'm doing wrong now.

 

Never mind. I had it commented out. It seems to be working now :thumbup1:

 

Thank you!

 

Edited by TCH-David to obscure e-mail address - don't want those pesky spam bots picking it up! :)

Posted
EmailVerificationSecret is a setting in your mt.cfg file:
EmailVerificationSecret

If you are exposing the mt-add-notify.cgi interface to users, allowing them to sign up for site update notifications, you should set this value to something that outsiders would not be able to guess. This allows Movable Type to secure the notification signup process so that visitors have to verify their email addresses.

If the EmailVerificationSecret is not present in your mt.cfg file, you just need to add it (it can be added anywhere - I'd add it to the bottom of the file). If it is present, make sure it is uncommented (does not have a "#" at the beginning of the line).

 

You'd configure the setting like this:

>EmailVerificationSecret secretWord

...with whatever secret word you want to use.

 

Me again. I have another question. I seem to have it working. But when I click on the link that is sent in the verification email I get a "Page Cannot Be Displayed" message.

 

Here's the link in the email ...

 

http://moonjuice.us/mt//mt-add-notify.cgi?...ww.moonjuice.us

 

Could I possibly have some of the code wrong in the redirect line?

 

This is how I have it ...

 

><form method="post" action="<$MTCGIPath$>mt-add-notify.cgi">
<input type="hidden" name="blog_id" value="<$MTBlogID$>" />
<input type="hidden" name="_redirect" value="<$MTBlogURL$>http://www.moonjuice.us" />
<input name="email" size="20" />
<input type="submit" value="add" />
</form>

Posted

The problem is in the hidden redirect field for your form:

><input type="hidden" name="_redirect" value="<$MTBlogURL$>http://www.moonjuice.us" />

You shouldn't have your URL after the MTBlogURL tag:

><input type="hidden" name="_redirect" value="<$MTBlogURL$>" />

Posted
The problem is in the hidden redirect field for your form:

><input type="hidden" name="_redirect" value="<$MTBlogURL$>http://www.moonjuice.us" />

You shouldn't have your URL after the MTBlogURL tag:

><input type="hidden" name="_redirect" value="<$MTBlogURL$>" />

 

YAY! It's working now. Thank you.

 

In the MT help section it made it sound like i needed to put the URL in there. Now that I know it reads differently.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...