| Author |
Message |
Kodarn
phpBB2.de User

Joined: 18 Mar 2006
Posts: 31
|
Posted:
Fri 19 Jan, 2007 09:50 |
  |
The emails that are sent with notifications of answers in threads are not being sent anymore. I see that I got my last one on the 16th.
E-mails about new PM:s are being sent and arrives in my mailbox so there's nothing wrong with my SMTP settings.
So now I would like to validate that the emails are actually being sent from the system before I check with my web hotel if they stop them in some kind of spam filter.
Any advice on how to validate this? |
Last edited by Kodarn on Thu 22 Mar, 2007 19:18; edited 1 time in total |
|
   |
 |
Google
|
Posted:
|
 |
|
|
 |
DonvanVliet
phpBB2.de User


Joined: 25 Jan 2004
Posts: 241
Location: The Little House I Used To Live In
|
Posted:
Fri 19 Jan, 2007 10:07 |
  |
Contact your hoster, there is probably something wrong with their mailserver.
If I'm correct hosters use 1 of the 2 types (sendmail or postfix) which take care of the mail traffic. |
_________________ [DoC] Administrator & Docker
[DoC]Sniperclan website
[DoC]Sniperclan Forums
Ze kenne me de bout hachelen! |
|
      |
 |
Kodarn
phpBB2.de User

Joined: 18 Mar 2006
Posts: 31
|
Posted:
Thu 25 Jan, 2007 14:46 |
  |
I've been asked to try a different port number for my SMTP server but it didn't work with the format server:port in the SMTP Server Address field.
Does anyone know how to configure a different port number or do I have to edit emailer.php or smtp.php?
Edit: Could change port in smtp.php |
|
|
   |
 |
Kodarn
phpBB2.de User

Joined: 18 Mar 2006
Posts: 31
|
Posted:
Fri 02 Feb, 2007 22:43 |
  |
Bah, problem still remains and the host's support people aren't too cooperative. I've taken the code home to my own server and there all the mails are sent with my ISP's SMTP server so there's nothing wrong with the code.
First I tested with some Gmail accounts and then the support guys blamed them, so now I've reproduced it with three other email domains and it still remains.
What I would like to do is to change my SMTP server to an external one but I can't find anyone that does not use SSL. Does anyone know an SMTP server I can use just for testing purposes? |
|
|
   |
 |
DonvanVliet
phpBB2.de User


Joined: 25 Jan 2004
Posts: 241
Location: The Little House I Used To Live In
|
Posted:
Sat 03 Feb, 2007 12:09 |
  |
|
      |
 |
Kodarn
phpBB2.de User

Joined: 18 Mar 2006
Posts: 31
|
Posted:
Sat 03 Feb, 2007 12:21 |
  |
| DonvanVliet wrote: |
| I think they are right, I also heard that GMail isn't working for this protocol. |
It may be so but the notification emails aren't delivered anywhere else either. Not to hotmail.com, email.com and others that I've tested.
The notification email for your reply came to my gmail address as it should. |
|
|
   |
 |
Reliable
Support Team Member


Joined: 28 Nov 2003
Posts: 2815
Location: New York, USA
|
Posted:
Wed 07 Feb, 2007 19:33 |
  |
Before I had my own server, I used to use www.Gawab.com, the problem with Gawab is that it limits you from mass emailing a certain amount of users. If I remember correctly, you cannot send email to 150 people at once. So if a topic has 150 users participating in it, then there will be some errors.
But if your site is not too crowded, then you can use it for now as an alternative until you find a suitable host that works flawlessly. |
_________________ "Love is a feeling and a choice; a feeling when things are smooth, and a choice when things are rough."
No support via PM |
|
        |
 |
Kodarn
phpBB2.de User

Joined: 18 Mar 2006
Posts: 31
|
Posted:
Tue 13 Mar, 2007 22:19 |
  |
Support is really slow at my web host but I've come to the point that the problem seems to be that the mail server or spam filter doesn't like the 8 bit header encoding:
X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char E5 hex) in message header 'Subject'
I can get emails without the Swedish characters å, ä, ö and also emails where there is only one of those characters in the subject. But with two or more, they are not being sent.
So, does anyone have any suggestions of changes that I can do in the MIME encoding in order to get the server to "like them better"? |
|
|
   |
 |
Kodarn
phpBB2.de User

Joined: 18 Mar 2006
Posts: 31
|
Posted:
Thu 22 Mar, 2007 16:16 |
  |
Does anyone know anything about MIME encoding the subject?
My host says that the cause of my problem is that the subject isn't MIME encoded according to the standards.
Edit: It seems that it is RFC 2047 that needs to be implemented. Anyone done that? |
|
|
   |
 |
Kodarn
phpBB2.de User

Joined: 18 Mar 2006
Posts: 31
|
Posted:
Thu 22 Mar, 2007 19:19 |
  |
The problem has now been solved. RFC 2047 got me in the right direction.
The subject should be encoded with this function:
| Code: |
function encode_iso88591($string)
{
$text = '=?iso-8859-1?q?';
for( $i = 0 ; $i < strlen($string) ; $i++ )
{
$val = ord($string[$i]);
if($val > 127 or $val == 63)
{
$val = dechex($val);
$text .= '='.$val;
}
else
{
$text .= $string[$i];
}
}
$text .= '?=';
return $text;
}
|
|
|
|
   |
 |
Slackervaara
phpBB2.de User

Joined: 17 Sep 2008
Posts: 1
|
Posted:
Wed 17 Sep, 2008 04:11 |
  |
Very interesting. In which file should the above code be put and where? |
|
|
   |
 |
|
|
|
|