Forums

Email not sent

tossu 18 Feb, 2008
I have 2 different forms on my site.
One is working well and another one where is file uploads does not send email at all.

_POST: Array ( [yritys] => Hi [tilaaja] => Hi [puhelin] => Hi [email] => [email]Hi@Hi.Hi[/email] [osoite] => Hi [postinro] => Hi [malli] => Hi [kuvaus] => Hi [lisatietoja] => Hi [submit] => Lähetä )
Case 1: Use table layout
E-mail: 'Yes' custom
Email not sent



I have double-checked all fields and cant figure what is wrong...

Anyone.. Help.. Please... :pinch:
GreyHead 18 Feb, 2008
Hi tossu,

Does the form work OK if you comment out the form input?

Have you got enctype='multipart/form-data' in the Form tag attachment field on the General tab?

Have you set Upload files to Yes?

Have you set Max and Min file-size values?

Check that you have $mosconfig_fileperms set in your configuration.php file (make it 0644 if it is blank or set to 0000).

I think that's it!

Bob
tossu 18 Feb, 2008

Hi tossu,

Hi Bob!

Does the form work OK if you comment out the form input?

Yes

Have you got enctype='multipart/form-data' in the Form tag attachment field on the General tab?

Yes - done that

Have you set Upload files to Yes?

Ofcourse

Have you set Max and Min file-size values?

Values are now 5000000 and 1

Check that you have $mosconfig_fileperms set in your configuration.php file (make it 0644 if it is blank or set to 0000).

This was the problem! I changed Joomla configuration file $mosconfig_fileperms from empty to 0644 and thats it! Cant explain why but - it dosent matter anymore :huh:

I think that's it!

Thanks! And keep up good work!

Bob

minimalniemand 20 Feb, 2008
Setting $mosconfig_fileperms to 644 was not enough, I also had to check "CHMOD new files" in Joomlas gloabal configuration.

But that did the trick also for me then. Thanks for ur support. havent regret buying a license so far =)
This topic is locked and no more replies can be posted.