PHP Mail not working in HESK

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
mgarciarti
Posts: 1
Joined: Mon Jul 30, 2007 4:27 pm

PHP Mail not working in HESK

Post by mgarciarti »

Script URL: HESK
Version of script:
Hosting company: self
URL of phpinfo.php: internal (http://ccshelp.callcenter.ns)
URL of session_test.php: internal (http://ccshelp.callcenter.ns/test.php)
What terms did you try when SEARCHING for a solution:
Email, PHP Email

Write your message below:
NOTE: This is on a windows 2003 platform using APache/PHP/MySQL
I have found the updates pointing to the smtp server for PHP, have since downloaded and applied. I have configured my PHP to run the necessary SMTP in the php.ini file.

Went through the tutorials: http://www.php-mysql-tutorial.com/insta ... -mysql.php

still the email is not being sent out by HESK. If I do a command line to send the email it sends fine. Also downloaded sendmail for windows (now called indigomail) it also sends fine. yet nothing via the system.

from PHP.ini:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = ccshelp@ccs.rti.org

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = c:\sendmail

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

again also tried the path to sendmail with the windows sendmail..

If anyone can assist I am pretty sure I am just forgeting one key thing..
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Does http://www.phpjunkyard.com/extras/email_test.zip work? Open the php file and change sender and recipient address first before testing. Then just upload and open in browser.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
JacobRocks
Posts: 11
Joined: Sat Dec 01, 2007 7:18 pm

PHP Mail

Post by JacobRocks »

If http://www.phpjunkyard.com/extras/email_test.zip Sends mail, Can I Use It On My Site A Contact Us Forum? Is The Answer Is Yes, I Would Be Happy To Punt A Link To PHP Junkyard On it.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Well feel free to use it, it's nothing more than few lines of PHP code and you need some modifications to make this work as a contact form.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
JacobRocks
Posts: 11
Joined: Sat Dec 01, 2007 7:18 pm

Question

Post by JacobRocks »

I am really bad with PHP can I get a little help setting it up.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Then why complicate and not use a pre-written script?
http://www.hotscripts.com/PHP/Scripts_a ... index.html
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply