Re: [openupload-devel] No email notification
Status: Beta
Brought to you by:
tsdogs
|
From: <ee...@la...> - 2010-03-03 15:27:48
|
Alessandro Briosi a écrit : > Hi Edgar, > The e-mail function is in lib/general.inc.php > the function is sendmail() which then calls the php native mail() > function Hi Alessandro, Thank you, i'm going to ask my hosting support if they have an idea. In their FAQ they write about sendmail : ------------------------ 1- My php or perl forms providing access to sendmail or used for uploading files (the server sends "ok" to the browser, but nothing happens) don't work any more. What's the reason? Following recent waves of spam and an injection of urls on our servers, we have added a new rule on our servers blocking access for POST type requests with "http" in the QUERY_STRING. As a result you shouldn't make POST type requests with "http://" in the QUERY_STRING; you only need to enter www.domain.xyz for example instead of http://www.domain.xyz 2- How can I send email from my site via the server, without authentication? As far as possible you need to use the PHP mail() function on the server, and not send emails via the SMTP servers. You shouldn't specify a sender email address (leave the relevant box blank) With mail(), it isn't possible to send email with your PHP or Perl scripts. You need to use sendmail (in this case the path being /usr/sbin/sendmail), or specify SMTP "localhost" as server, namely the server where your site is hosted and which has its own mail server. You therefore need to add to your config $smtp_server = "localhost"; 3- Where can I find sendmail? /usr/sbin/sendmail ------------------------ Does it help you ? > > Beside that you should be able to access the logs for your domain in a > shared environment too, as usually they are separated (to do log > analisys and so on), but that depends on the offering. Unfortunately their logs aren't enough precise. Cheers, Edgar |