Page 1 of 1

Questions about the email notifictaion

Posted: Wed Jan 09, 2008 5:20 pm
by cyrilkan
Script URL:
Version of script: 0.94.1
Hosting company: ixwebhosting
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I am using ixwebhosting and after I installed the the hesk program, it doesn't send out email after summiting tickets. I understand that your program are using php mail() function so I have ask the the hosting server about it, and their reply is:

Hosting Company: I would like to bring to your attention that we have certain limits on the smarthost server which is responsible for sending mails using php mail() function from web servers. In order not to share these limits with other customers on your server you should insert the following string before php mail() function in your form:

Hosting Company: ini_set('sendmail_from', 'user@domain.com');

Could you please point out where should I insert this line?

Thank you very much in advance.

Regards,
Cyril

Posted: Wed Jan 09, 2008 10:32 pm
by Klemen
Try adding it on top of every script that sends out mail:
- submit_ticket.php
- reply_ticket.php
- admin_reply_ticket.php

- OR -

You can try creating a plain text file, add this inside:

Code: Select all

php_value sendmail_from 'user@domain.com'
Upload to server and rename to ".htaccess" (without quotes and note the dot "." before the name).

Thanks it works fine

Posted: Sat Jan 26, 2008 4:24 am
by cyrilkan
Thanks a lot