Not sending email

Helpdesk for my helpdesk software

Moderator: mkoch227

brek
Posts: 14
Joined: Tue Mar 23, 2010 10:12 am

Not sending email

Post 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!
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Not sending email

Post 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)?
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
brek
Posts: 14
Joined: Tue Mar 23, 2010 10:12 am

Re: Not sending email

Post by brek »

Yep, 5 step working!
brek
Posts: 14
Joined: Tue Mar 23, 2010 10:12 am

Re: Not sending email

Post 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?
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Not sending email

Post 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?
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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Not sending email

Post 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?
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
brek
Posts: 14
Joined: Tue Mar 23, 2010 10:12 am

Re: Not sending email

Post 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!
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Not sending email

Post 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.
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
Stephan1992
Posts: 25
Joined: Tue Oct 12, 2010 3:16 pm

Re: Not sending email

Post 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!
brek
Posts: 14
Joined: Tue Mar 23, 2010 10:12 am

Re: Not sending email

Post 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!
brek
Posts: 14
Joined: Tue Mar 23, 2010 10:12 am

Re: Not sending email

Post 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?
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Not sending email

Post 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

Code: Select all

$headers.="Reply-to: $from";
Test 2

Code: Select all

$headers.="Reply-To: $from";
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.
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
brek
Posts: 14
Joined: Tue Mar 23, 2010 10:12 am

Re: Not sending email

Post 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

Code: Select all

$headers.="Reply-to: $from";
Test 2

Code: Select all

$headers.="Reply-To: $from";
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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Not sending email

Post 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.
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
brek
Posts: 14
Joined: Tue Mar 23, 2010 10:12 am

Re: Not sending email

Post 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?
Post Reply