Page 1 of 2
Not sending email
Posted: Mon Oct 18, 2010 6:11 pm
by brek
Script URL:
http://support.soundium.net/index.php
Version of script: 2.2
Hosting company:
www.ipage.com
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hello, we have some problems. When we trying to fill the "Submit Ticket" form, our customer and we not getting any (comfirmation) email. We were thinking that problem is that script is one hosting, and sub domain is another provider, and email provider is google apps.
But we tried install for example joomla script, and we are getting email, everything is fine.
We contact tech support in hosting - they saying that issue is in script. But we are downloaded newest script and where to search issue about this, I don't understand.
Someone could help to check ?
Sorry for broken english language!
Re: Not sending email
Posted: Mon Oct 18, 2010 7:16 pm
by Klemen
A brief explanation and usual problems are listed here:
http://www.hesk.com/knowledgebase/?article=25
Does the email test file work (see step 5 above)?
Re: Not sending email
Posted: Tue Oct 19, 2010 7:29 am
by brek
Yep, 5 step working!
Re: Not sending email
Posted: Tue Oct 19, 2010 9:22 am
by brek
Hosting Support center said that there no any issue like in
http://www.hesk.com/knowledgebase/?article=25 these steps.
They asking to debug the script, how can i make it?
Re: Not sending email
Posted: Tue Oct 19, 2010 5:26 pm
by Klemen
Try the step 5 again and enter a @gmail.com or @yahoo.com e-mail for the recipient ($to) in the e-mail test file. Does the test e-mail come to the @gmail.com address?
Re: Not sending email
Posted: Tue Oct 19, 2010 5:28 pm
by Klemen
Also, I see you heavily modified your Hesk (good job by the way). Could you install a clean (original) version in a test folder (like
www.yourdomain.com/test ) and see if the original one works?
Re: Not sending email
Posted: Wed Oct 20, 2010 3:45 pm
by brek
Hello,
Tried send email in gmail with email_test.php - got the email!
Ok, I tried in many ways where is the problem. And found one, when you fill in "Website URL:" and "Help desk URL:"
http://www.domain.com/hesk in admin settings, after fill the ticket - got email in inbox, but when change URL to
http://support.soundium.net , fill the form - not getting any mail.

) Minunderstandable
Do you have any ideas why?
I think I will leave in settings urls
http://www.domain... and change email text where is the address in the ticket, because now sending
http://www.domain.com/hesk/ticket.php?t ... resh=76602 .
What you think? I think this is only way.
BTW, in what file I can change sending emails text?
Thanks!
Re: Not sending email
Posted: Wed Oct 20, 2010 4:45 pm
by Klemen
That absolutely has nothing to do with sending e-mails. The only possibility is that when you have
http://support.soundium.net your e-mail ends up in the SPAM folder.
Instructions on changing e-mails are in the readme.html file.
Re: Not sending email
Posted: Thu Oct 21, 2010 7:03 am
by Stephan1992
You can change e-mail messages in the language folder. There is a file named emails there, which contains .txt files. If you change those, the emails will be changed.
Greets!
Re: Not sending email
Posted: Thu Oct 21, 2010 9:52 am
by brek
Klemen wrote:That absolutely has nothing to do with sending e-mails. The only possibility is that when you have
http://support.soundium.net your e-mail ends up in the SPAM folder.
Instructions on changing e-mails are in the readme.html file.
I tried 4 emails clients, all not getting email from support.soundium.net , if i put dsfjkhsdjkfhsdkj.com url, everything fine. I think that four mail clients ( hotmail / gmail / aol / yahoo ) do not have the same spam filters and bloking mine url. This is nonsense. I think that problem is near subdomain, because he won't send email if in email text are any letters like support.soundium.net .
Stephan1992 wrote:You can change e-mail messages in the language folder. There is a file named emails there, which contains .txt files. If you change those, the emails will be changed.
Greets!
Thanks!
Re: Not sending email
Posted: Thu Oct 21, 2010 12:19 pm
by brek
Ok, tried two simple php mailers that sent text with our url ant without:
1. your emailer not sending email with our url -
http://www.phpjunkyard.com/extras/email_test.zip
2. Our hosting provider add their simple php mailer
Code: Select all
<?php
$to = 'sup@support.soundium.net';
$from = 'support@soundium.net';
$subject = 'the subject http://support.soundium.net/ticket.php?track=GRT1MM456V&Refresh=26027';
$message = 'hello http://support.soundium.net/ticket.php?track=GRT1MM456V&Refresh=26027';
$headers = 'From: '.$from. "\r\n" . 'Reply-To: '. $from . "\r\n" . 'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
and we are getting emails with this URL.
Weird

) All php mailers are in
http://support.soundium.net/
http://support.soundium.net/email_test.php - your
http://support.soundium.net/testmail.php - hosting
Any ideas?
Re: Not sending email
Posted: Sat Oct 23, 2010 12:39 pm
by Klemen
You can try to pinpoint the issue. In the email_test.php change this code
Code: Select all
$headers.="Reply-to: $from\n";
$headers.="Return-path: $from";
to each option below and see which one works and which one not (some changes may appear minor but can make a huge difference):
Test 1
Test 2
Test 3
Code: Select all
$headers.="$headers.="Reply-to: $from\n";
$headers.="Return-path: $from";";
Test 4
Code: Select all
$headers.="Reply-To: $from\n";
$headers.="Return-Path: $from";
Test 5
Code: Select all
$headers.="Reply-To: $from\n";
$headers.='X-Mailer: PHP/' . phpversion();
You should change the subject of the mail before each test so you are 100% sure which one worked.
Re: Not sending email
Posted: Sun Oct 24, 2010 3:53 pm
by brek
Klemen wrote:You can try to pinpoint the issue. In the email_test.php change this code
Code: Select all
$headers.="Reply-to: $from\n";
$headers.="Return-path: $from";
to each option below and see which one works and which one not (some changes may appear minor but can make a huge difference):
Test 1
Test 2
Test 3
Code: Select all
$headers.="$headers.="Reply-to: $from\n";
$headers.="Return-path: $from";";
Test 4
Code: Select all
$headers.="Reply-To: $from\n";
$headers.="Return-Path: $from";
Test 5
Code: Select all
$headers.="Reply-To: $from\n";
$headers.='X-Mailer: PHP/' . phpversion();
You should change the subject of the mail before each test so you are 100% sure which one worked.
1. Working, but i got email in /* SENDER */ email, not RECEIPT
2. Not working
3. Getting error: Parse error: syntax error, unexpected T_STRING in /hermes/bosweb/web201/b2016/ipg.deridoocom/support/email_test.php on line 10
4. Not working
5. Not working
Re: Not sending email
Posted: Sun Oct 24, 2010 4:04 pm
by Klemen
Try N3 again with this code:
Code: Select all
$headers.="$headers.="Reply-to: $from\n";
$headers.="Return-path: $from";
If it doesn't work it means your host is blocking mail with a preset return-path parameter. You will need to remove the headers line that has "Return-path" from each Hesk file that sends mail.
Re: Not sending email
Posted: Sun Oct 24, 2010 5:37 pm
by brek
the same: Parse error: syntax error, unexpected T_STRING in /hermes/bosweb/web201/b2016/ipg.deridoocom/support/email_test.php on line 10
Not understand, what I need to do now ? What line delete and from which files?