Email form - attachment problem
Autor: Jano M.E-mail form works well, when I am sending texts only, but if I add "attachment file", or set "send CSV" in form options, email never arrive.
More about my problem is described here - http://answers.websitex5.com/post/54674
Server supports PHP 4, 5, 5.3 and sending mails with PHP (ASP) (see attach.)
In logs there are no errors
I try to solve problem with hosting provider, but his answer is:
"Issue may be the fact that it is a html code that runs on a server with FastCGI configuration and are likely to try to save the file to the wrong folder, it should go to the folder / home/cz005900/tmp and from there it would not be a problem then send .
You know you tell us where the script tries to temporarily save the file before sending? The domain error logs there was not no fault from which it can be detected."
Email form is on testing site: http://mansid.sk/test2.php
Hello Jano,
The program has no specific settings about where a file has to be saved but this depends directly on the server settings.
Have you tried to change email script type in step 4 data management to see if with another script the attachments arrives?
Many thanks!
Autor
Yes, I've tried all possible settings, but mail didn't arrives. If I change "POST" to "GET", I receive mail without attachment.
Hello Jano,
The email script used has no specific settings for the folder where temporarly the file will be stored and it will be used as folder the one defined by the hosting provider in the php settings.
You need to ask them to set as folder the correct one in the PHP settings since the email script uses their configuration for the temporarly folder.
Many thanks!
Autor
Hi Claudio,
I am trying new provider, and I have a same problem, I have this error log:
[error] [client 188.167.118.207] ALERT - mail() - double newline in headers, possible injection, mail dropped (attacker '188.167.118.207', file '/data/j/a/jaem.sk/web/res/imemail.inc.php', line 164), referer: http://jaem.sk/kontakt.php
Autor
there is full error log:
jaem.sk [Wed Dec 18 18:17:33 2013] [error] [client 188.167.118.207] Directory index forbidden by Options directive: /data/web/jaem.sk/web/
jaem.sk [Wed Dec 18 18:21:02 2013] [error] [client 188.167.118.207] ALERT - mail() - double newline in headers, possible injection, mail dropped (attacker '188.167.118.207', file '/data/j/a/jaem.sk/web/res/imemail.inc.php', line 157), referer: http://jaem.sk/kontakt.php
jaem.sk [Wed Dec 18 18:21:02 2013] [error] [client 188.167.118.207] ALERT - mail() - double newline in headers, possible injection, mail dropped (attacker '188.167.118.207', file '/data/j/a/jaem.sk/web/res/imemail.inc.php', line 160), referer: http://jaem.sk/kontakt.php
jaem.sk [Wed Dec 18 18:21:02 2013] [error] [client 188.167.118.207] ALERT - mail() - double newline in headers, possible injection, mail dropped (attacker '188.167.118.207', file '/data/j/a/jaem.sk/web/res/imemail.inc.php', line 164), referer: http://jaem.sk/kontakt.php
webftp.jaem.sk [Wed Dec 18 18:21:38 2013] [error] [client 188.167.118.207] File does not exist: /data/web/webftp.websupport.sk/skins/shinra/css/main.css.php, referer: http://webftp.jaem.sk/
webftp.jaem.sk [Wed Dec 18 18:21:43 2013] [error] [client 188.167.118.207] File does not exist: /data/web/webftp.websupport.sk/skins/shinra/css/main.css.php, referer: http://webftp.jaem.sk/index.php
webftp.jaem.sk [Wed Dec 18 18:21:47 2013] [error] [client 188.167.118.207] File does not exist: /data/web/webftp.websupport.sk/skins/shinra/css/main.css.php, referer: http://webftp.jaem.sk/index.php
webftp.jaem.sk [Wed Dec 18 18:21:59 2013] [error] [client 188.167.118.207] File does not exist: /data/web/webftp.websupport.sk/skins/shinra/css/main.css.php, referer: http://webftp.jaem.sk/index.php
webftp.jaem.sk [Wed Dec 18 18:27:09 2013] [error] [client 188.167.118.207] File does not exist: /data/web/webftp.websupport.sk/skins/shinra/css/main.css.php, referer: http://webftp.jaem.sk/
Hello Jano,
Please try to select the "lopw quality server script" on the new provider and then export the project again to test it. This script should not generate this error.
Please keep me updated.
Autor
HiClaudio,
I try to set it, but, unfortunatelly, mail with attachment (or CVS data) never arrive. I try to figure it with provider too.
In this time, thank you for your help, I leave it now, and I'll be continue in new year.
Merry Christmas & Happy New Year!
Hello Jano,
If you have further results from the provider please keep me updated so we can try to figure out why the attachments never arrives.
Thank you very much.
Merry xmas and happy new year!