Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Setting SMTP server

Our old forums are still available as a read-only archive.

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

Page: 1 2
Go to End
Author Topic: 10191 Views
  • rabrol
    Avatar
    Community Member
    6 Posts

    Setting SMTP server Link to this post

    Hi all.

    Maybe I am missing something here. Where do I set the details of my SMTP server to allow forms to be sent?

    Incidently, the form appears fine and once submitted it takes me to the thank you page, but no email is ever received. I don't recall ever setting the smtp server details anywhere....

    Thanks!
    Rob

  • rabrol
    Avatar
    Community Member
    6 Posts

    Re: Setting SMTP server Link to this post

    No ideas?

  • DesignCity
    Avatar
    38 Posts

    Re: Setting SMTP server Link to this post

    Rob,

    As far as I'm aware, Silverstripe uses PHP's send mail functions to send mail - therefore no SMTP settings need to be set up within SS itself. If you're having trouble sending mail with PHP, the answer will depend on the system you're running. The PHP docs are a good place to start looking for some answers, otherwise provide the community with some more details about your setup and OS to see if someone can help.

    DesignCity

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Setting SMTP server Link to this post

    Yes, we just use the PHP mail() function.

    This is the page that you should look at: http://nz.php.net/manual/en/mail.configuration.php

  • rabrol
    Avatar
    Community Member
    6 Posts

    Re: Setting SMTP server Link to this post

    Hmm. Thanks for the replies.
    Unfortunately my web host doesn't provide email sending from the web server - only though the mail server! They recommend using smtp to connect to the mail server they provide. Is there any way I can do this in SS?

    I don't have access to the php.ini file as I am on a shared server.

    Rob

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Setting SMTP server Link to this post

    I would suggest that you talk to your host about it. Ask them to reconfigure their server to get the PHP mail() function working. This is a really basic requirement that every host should support if they're claiming to support PHP.

    I'm not sure if there's an easy way of getting linux PHP to talk to another SMTP server.

  • cerelac
    Avatar
    Community Member
    34 Posts

    Re: Setting SMTP server Link to this post

    Hi.

    I have a problem with the mail server configuration, when using it with the forms.
    I've read the posts below, but I don't really know where can I configure the mail server settings.
    I'm an unexperient user, so if you can help me, I would appreciate.

    I'm currently using SilverStripe at localhost, but I have a mail server with domain, so I would like to know if it is possible to configure the mail server while testing at localhost server (using Apache).

    Best regards.

  • nomen
    Avatar
    Community Member
    52 Posts

    Re: Setting SMTP server Link to this post

    Hi:
    I wrote a post explainig the way i do it, because I was in the same situation.
    See my post.

    Hope this helps.

    10191 Views
Page: 1 2
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.