Remember me? forgot password | register

SilverStripe Forum

10689 Posts in 2796 Topics by 1518 members

Jump to:

Site Builders

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

Community » SilverStripe Forum » Site Builders » User Defined Form - Email Problems
Page: 1 go to end Reply
Author Topic: User Defined Form - Email Problems 375 views
  • RNHurt
    avatar
    Community Member
    16 posts
    1 SilverStripe Site

    User Defined Form - Email Problems Link to this post

    I have a Contact-Us page that I want to use to collect feedback, ideas, problems, etc. about our company. It works pretty good except that no matter what I do it sends an email to the person that fills out the form. I tried checking and unchecking the "Email form on submit:" checkbox but it didn't seem to make a difference.

    I only want an email to go to my "feedback@kangaroobox.com" address and not the user. Is something broken in 2.2.2 or am I doing something wrong?

    Thanx!
    Richard

  • LeeUmm
    avatar
    Community Member
    258 posts

    Re: User Defined Form - Email Problems Link to this post

    I know it's obvious but make sure you have the email address filled out in the form tab -> 'email submission to' field.

    Also, add this to your _config.php file in your mysite directory

    Email::setAdminEmail('feedback@kangaroobox.com');

  • RNHurt
    avatar
    Community Member
    16 posts
    1 SilverStripe Site

    Re: User Defined Form - Email Problems Link to this post

    Yup, I did both of those things and it does send out emails just fine; it's just sending out too many emails. :) Currently, it sends one to the "admin" & one to the "user". I would like to curtail that "user" email and have the admin respond personally to each request. I was thinking that the "Email form on submit:" checkbox would allow me to do that, but it seems that I am mistaken. :/

    Thanx!
    Richard

    375 views
go to top Reply

Currently Online:

g, ABailey, Dig, motoservo

Welcome to our latest member: lorem