Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: jock on October 18, 2008, 06:29:19 PM

Title: enabling php email
Post by: jock 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?
Title: Re: enabling php email
Post by: gzartman 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
Title: Re: enabling php email
Post by: jock 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.
Title: Re: enabling php email
Post by: janet 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.
Title: Re: enabling php email
Post by: byte on October 19, 2008, 01:21:09 PM
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!