Koozali.org: home of the SME Server

enabling php email

Offline jock

  • **
  • 33
  • +0/-0
enabling php email
« on: October 18, 2008, 06:29:19 PM »
I am new to all of this and am not sure how to get at the php.ini file on an sme server. I have read some conflicting information. On the one hand anything I have read about sme is that it is all right there. However, I have also read that I need to define my smtp and the sendmail_from aspects in php. Can anyone clarify for me?

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: enabling php email
« Reply #1 on: October 18, 2008, 06:52:58 PM »
I am new to all of this and am not sure how to get at the php.ini file on an sme server. I have read some conflicting information. On the one hand anything I have read about sme is that it is all right there. However, I have also read that I need to define my smtp and the sendmail_from aspects in php. Can anyone clarify for me?

On SME Server, you don't want to manipulate configuration files directly as most configuration files are managed by SME Server.  It might be useful for you to read the following:

http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual:Section1#Architecture_overview

Further to this article, you want to be really careful when installing add-on software on SME, as installing software could break the "SME mechanisms."   Instead, you should look to see if there is a SME Contrib available for the application you want to install.  Any SME Contrib is an add-on specifically configured for SME Server.

First place to look is here: http://wiki.contribs.org/Category:Contrib

Now, more specific to your question:  What is it that you are trying to setup? 

Greg
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.

Offline jock

  • **
  • 33
  • +0/-0
Re: enabling php email
« Reply #2 on: October 18, 2008, 07:30:41 PM »
I am trying to set up a form on my web site to allow people to submit information to up date a mailing list of people. I wrote the script and the page works but doesn't send the email. The server is behind a router and the I am using everydns to reroute the domain to my dynamic ip address.

The page seems to work with the exception of forwarding the email.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: enabling php email
« Reply #3 on: October 19, 2008, 01:59:12 AM »
jock

See reply here
http://forums.contribs.org/index.php?topic=42355.0

Please don't post duplicate messages on essentially the same issue.
It sounds to me like your network setup is more likely the issue.
Please prove your sme mail server can send messages using webmail before blaming your script or sme for not working.
Form scripts should work OK and just make use of the standard sme mail features anyway.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: enabling php email
« Reply #4 on: October 19, 2008, 01:21:09 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!