Elxis CMS Forum

Support => General => Topic started by: bartix on October 25, 2010, 16:44:32

Title: my system mail won't work
Post by: bartix on October 25, 2010, 16:44:32
Iim using the latest version of elxis. I'm trying to send mails throug my contact component. Im using php mail function. But in my outlook i don't receive any mails. No system mails no contact mails from new users of my site
Title: Re: my system mail won't work
Post by: CREATIVE Options on October 25, 2010, 17:04:06
You must have setup wrong the email setup at Global Configuration.
Title: Re: my system mail won't work
Post by: bartix on October 25, 2010, 17:08:09
what is the normal configuration? Can you explain? I'm a totally newbie..... ;D
Title: Re: my system mail won't work
Post by: xmanhattan on October 25, 2010, 18:08:10
Hello bartix,

Your email should work by:
selecting php mail function
entering your address @ your mail box into the Mail From: field
a From Name:    your name
and finally check the path of Sendmail path: to make sure that it agrees with the path defined in the
system --> view system information --> php information listing

I assume that you are not using a local email account setup on your test system.

Title: Re: my system mail won't work
Post by: datahell on October 25, 2010, 23:31:42
Go to Elxis -> administration -> Global Configuration
Go to the "mail" tab
There are 3 ways to send mails in PHP/Elxis:

1. Using PHP's mail function (this is the most common and easiest method). It should work fine if your hosting provider has set up the PHP's settings properly. If it does nt work contact your hosting provider or use SMTP.

2. Using Linux's sendmail. In that case you should provide the exact path to the sendmail program in your server. Better leave this as you are a newbie and many servers dont set up this correctly.

3. Using SMTP. If you use this one you should provide Elxis the correct details of an existing email account on your site. It is required to provide: mail server/SMPT host (usually in this format: mail.mysite.com), SMTP User (your email username) and SMTP password (your email password). You should also click on "Yes" to "SMTP Auth" if your mail server requires login in order to send emails. Normally the SMTP host should be provided to you by your hosting provider. If not, ask them. By using SMTP it is like we send the emails as we would do with our mail client (outlook, thunderbird, etc). The SMTP is the best option to avoid your mails being caught as SPAM (may happen if we use PHP mail's function).