Jump to:

10845 Posts in 2513 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » User Forms [v0.2.0]: Not sending out email

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1368 Views
  • Media Contour
    Avatar
    Community Member
    33 Posts

    User Forms [v0.2.0]: Not sending out email Link to this post

    I've created a form and when the form is submitted it seems to work. It saved the information to the database and displays the thank you for submitting message that I've added. One thing it doesn't do is send an email.

    What am I doing wrong?

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: User Forms [v0.2.0]: Not sending out email Link to this post

    Sounds like a server problem to me. I would try to send an email via a script and see if the email() function works right.

  • patjnr
    Avatar
    Community Member
    101 Posts

    Re: User Forms [v0.2.0]: Not sending out email Link to this post

    hie

    i had the same problem once & i think yo dont have a From in yo email ()function emails without a from a regarded as SPAM

    try this,

    <=====

    put the following code in your _config file

    Email::setAdminEmail('name@domain.com');

    this should act as the From address.
    multiple recipient are also to be separated by a comma not semi-colon

    maybe it will work

    hope it will help you.

    1368 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.