Elxis CMS Forum
Support => Administration => Topic started by: rentasite on September 24, 2008, 03:42:23
-
Hi,
I have a problem with an Elxis installation.
- I cannot make the site's contact form send emails. So someone can help me, clear this out?
In Administration panel / Global Configuration / Mail we have 3 options
- PHP mail function
- Sendmail
- SMTP Server
I changed/played with those 3 settings. I did some tests but i wasn't able to receive messages that were submitted through the form. What should i check? And especially from the server's side? What are the most common settings i should take a look so an Elxis installation can run smoothly regarding the form and in general... sending email options. (Note: For sendmail its set to /usr/sbin/sendmail ).
???
Thanks in advance
Spiros
-
No one has faced such problem with his contact form ? ???
-
It is usually server setting, I never noticed anything wrong, so it must be problem with some specific server.
-
It is usually server setting, I never noticed anything wrong, so it must be problem with some specific server.
Ivan, which option between "PHP mail function" and "Sendmail" do u use?
-
i use PHP mail function and i have not problem ???
-
Yes, that is the best option for most users. I use SMTP only if authentication is required.
-
Yes, that is the best option for most users. I use SMTP only if authentication is required.
Ok i sellect the "PHP mail function" option. In which email account do the emails go? I do not receive anything.
Im realy messed up withis so suddenly. From my Support i got this message:
==================================================================
I checked your VPS out, and ran a simple mail script in PHP, and it ran fine. It appears that everything on
the server is setup already to do what you want. The problem appears to be in your script for the form.
==================================================================
Is there anything else i should check, except from just sellecting "PHP mail function" ??
-
have you connect a user with that contact?which one? has he a correct email address?
have you setup correctly your email account(or other user's which is connected with that contact form) in users administrator
edit: use php mail.
-
Supernet,
Yes, the php mail function setting should work and normally works using sendmail on most servers.
Check that the sendmail directory on your server is as shown in your config, e.g. /usr/sbin/sendmail
Then you should also be using an email address that is setup to receive the form in the form.
<form method="post" action="http://www.formname.ext" name="web_mail">
<input type="hidden" name="recipients" value="name@yourdomain.tld">
I normally do not use the same address as regular addresses so that I can change them from time to time due to spam.
-
==================================================================
I checked your VPS out, and ran a simple mail script in PHP, and it ran fine. It appears that everything on
the server is setup already to do what you want. The problem appears to be in your script for the form.
==================================================================
Wich elxis version are you using?
-
give an url to see the form that you are using?
P.S in your signature you have two site, none has a proper form or a correct setup. we are talking about them?
-
==================================================================
I checked your VPS out, and ran a simple mail script in PHP, and it ran fine. It appears that everything on
the server is setup already to do what you want. The problem appears to be in your script for the form.
==================================================================
Wich elxis version are you using?
2008 but LOL What difference does it make?
-
give an url to see the form that you are using?
P.S in your signature you have two site, none has a proper form or a correct setup. we are talking about them?
No mate, im not talking about the urls in my signature.
WHERE DID U SEE THE NON PROPER SETUP ?
Thanks
-
components-contacts-manage contacts-select one account -set the user to no user-write the infos -in the position email write your email adress- write a validate seo title-save it-go to menu select one menu (your visible menu pe main - new - link contact item - give the name pe contact us-select the contact link -save it
-
give an url to see the form that you are using?
P.S in your signature you have two site, none has a proper form or a correct setup. we are talking about them?
No mate, im not talking about the urls in my signature.
WHERE DID U SEE THE NON PROPER SETUP ?
Thanks
one of them uses the default example of elxis installation the other has an wrapper with ext form and action to (#public) .. i am not sure, is this this correct?
but no matter if you are not talking about them..... say that i wrote nothing.
why don't you give people here some more detail about,
for e.g the form script or the form html code?
-
why don't you give people here some more detail about,
for e.g the form script or the form html code?
Maybe u didnt understand. The phrase "ran a simple mail script in PHP" wasnt mine. It was my provider's answer, for "PHP mail function".
SO IM'TALKING ABOUT THE DEFAULT ELXIS FORM. No other form, no other script.
Thanks
-
what about this?
have you connect a user with that contact?which one? has he a correct email address?
have you setup correctly your email account(or other user's which is connected with that contact form) in users administrator
and this from babis1 ?
components-contacts-manage contacts-select one account -set the user to no user-write the infos -in the position email write your email adress- write a validate seo title-save it-go to menu select one menu (your visible menu pe main - new - link contact item - give the name pe contact us-select the contact link -save it
have you done these above?
Maybe u didnt understand. The phrase "ran a simple mail script in PHP" wasnt mine. It was my provider's answer, for "PHP mail function"
this doesn't mean that you don't use other form- script or that you use elxis default function, never mentioned before what is the form that don't works for you.
Anyway...
P.S have in mind that people try to help you... that's why we ask you so many things, also none else have mention a problem with form contact in elxis , think that may be your fault.
From the details that you mention here is not quit clear were is your problem ... must be more specific... must be sure that you have publish a contact in elxis the proper way ... and so on.
From the first time i suspected that you haven't publish correct your contact in elxis, i asked and got no answer,
babis1 also mention that.. no comment again. look at the quotes please.
maybe there the answer to your problem.
-
for me is the first time who read a problem with emails in elxis (i dont search the forum) and i would like to know if there is some bug or problem with the component contact
-
for me is the first time who read a problem with emails in elxis (i dont search the forum) and i would like to know if there is some bug or problem with the component contact
do you have a problem with contact form?
-
no i have'nt ,its the first time who read something like this (i mean supernet problem).For me maybe its server problem, or he try to made a custom form. I dont know
-
Guys, first of all i must say that its not the 1st Elxis installation i have proceeded. The problem is very mysterious for me also.
I tried anything that i could try. Especially what babis1 said (quote).
components-contacts-manage contacts-select one account -set the user to no user-write the infos -in the position email write your email adress- write a validate seo title-save it-go to menu select one menu (your visible menu pe main - new - link contact item - give the name pe contact us-select the contact link -save it
- As u can see in the pic, i have set the Mailer to "PHP Mail function" in the site's Configuration area.
- I have tried also "Sendmail".
- YES, the email accounts are set ok.
- YES, i also tried "NO USER" in "Manage Contacts".
*** ...and im talking about the default Elxis form. No other script, no nothing ***
[attachment deleted by admin]
-
your global is good, in your site you see the contact form if you go to the link contact us? when you write something and send it after gives you the thanks page? try to take off the security image.Your elxis installation is on server that in the past you had install other elxis with no problems or is in a new server?
-
your global is good, in your site you see the contact form if you go to the link contact us? when you write something and send it after gives you the thanks page? try to take off the security image.Your elxis installation is on server that in the past you had install other elxis with no problems or is in a new server?
- Yes i see tha contact form.
- Yes it gives me the "Thanks" message.
- Im not going to take off Captcha, of course 8)
- Yes, the installation is on a server with many other Elxis installationS.
-
ok and you cant take those messages in your outlook or thunderbird? i thing there is not elxis problem. in this account can you take emails from other mails?
-
ok and you cant take those messages in your outlook or thunderbird? i thing there is not elxis problem. in this account can you take emails from other mails?
Nai Babi :)
-
hands up ;D call elxis police department E.P.D i smell some very small problem but where is this? you test everything. if there is some elxis problem i think that you will have and some php warnings but now all the things working fine.where going your lost emails oeo?
-
SOLVED !!!!!!!!!!!
There was an option on WHM, that was checked. That option should be unchecked! And it was unchecked... until some VPS's software was upgraded. Don't know really know what upgrade... TURNED ON the option seen below: ::)
Prevent the user "nobody" from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)
So check your form's once again !!! Cause u never know...