Page 1 of 1
email How ??
Posted: Sun Oct 29, 2006 2:55 pm
by GALINHA
Script URL:
http://www.xpipoca.com/suporte
Version of script: latest
Hosting company: pronethosting
URL of phpinfo.php:
http://www.xpipoca.com/suporte/phpinfo.php
URL of session_test.php:
http://www.xpipoca.com/suporte/session_test.php
What terms did you try when SEARCHING for a solution: email
Write your message below:
I dont know to much about computers.... sorry
I found some topics regarding email...but i still didnt get it..
How can i put email working on my site ?
PHP.ini ? Where ?
Thnks a Lot
Luis...
Posted: Sun Oct 29, 2006 3:06 pm
by Klemen
Hesk uses standard PHP mail() command so if sending e-mail doesn't work something is wrong with that. Check with your hosting company and see if they have disabled the mail() php command or have any other restrictions about sending e-mails from scripts.
Hmm, I have the feeling I am repeatedly repeating myself

Posted: Sun Oct 29, 2006 3:10 pm
by GALINHA
Thnks...But i dont have to do nothing in the script ? Put the email acount ...and so one?
Do you now a cheap site where i can host if my actual hosring dont alow ?
Thnks a lot
Luis
Posted: Sun Oct 29, 2006 6:56 pm
by Klemen
Hi,
It's all setup, if mail() works correctly then nothing else needs to be done for Hesk to send out e-mails.
Check with your host first to see if they have any restrictions with PHP mail, but I do have some hosts listed here:
http://www.phpjunkyard.com/hosting.php
Regards
Posted: Sun Oct 29, 2006 10:09 pm
by GALINHA
I found this in my hosting webpage :
Mail sample (PHP)
Solution
The following is a working sample of how to send mail with PHP on our hosting accounts. Please note that we do not provide support for this sample. It is only provided as a guide to help you get started.
This is what the PHP code looks like:
--------------------------------------------------------------------------------
<?php
$to = '
he@hisdomain.com';
$subject = 'this is the subject of the mail';
$message = 'this is the body of the mail';
$headers = 'From:
me@mydomain.com' . "\r\n" .
'Reply-To:
me@mydomain.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
What file i need to change ?
Posted: Sun Oct 29, 2006 10:54 pm
by GALINHA
Just recived this :
Hi
Sending mail from PHP scripts is not disabled.
Regards
Jack
Ticket Details
Ticket ID: BZK-148110
Department: Support - Linux
Priority: Low
Status: Closed
Posted: Sun Oct 29, 2006 11:33 pm
by Klemen
Hi,
What are your settings for $hesk_settings['support_mail'], $hesk_settings['webmaster_mail'] and $hesk_settings['noreply_mail'] in hesk_settings file (you can PM me with this info)?
If not already make sure they are set to a @xpipoca.com e-mail address in case your host allows sending from local domains only.
Posted: Mon Oct 30, 2006 1:12 pm
by GALINHA
Ok...just try...if i send a mail to a user ****@xpipoca.com it works....
Thnks a Lot
Posted: Mon Oct 30, 2006 5:30 pm
by Klemen
That means your host has restricted sending e-mails form PHP scripts (user "Nobody") to local domains only (domains hosted on your server). It's what some hosts do for "security reasons".