2 blueyed Jan 23, 2007 21:28
![](https://forums.b2evolution.net/media/users/blueyed/profile_pictures/.evocache/181421514044d4f24b94ee9.jpg/crop-top-80x80.jpg?mtime=1372015408)
I'm in the same position - not that it helps you, 786, but it might move things on a bit!
I CAN send an email to the myself as the administrator from the form. . but no confirmation to my work email address when I attempt to set up an account for there.
some hosts disable the use of the php function mail(), which I think b2evo uses for sending mail, on a per-directory basis. So, if the htsrv directory is not included in their white-list, the notification mails never get sent. In that case, you have to ask them to add the htsrv directory to their white-list.
I think glossopband's situation proves his/her/it's server will send email, so in that case I would look at spam filters to see if the other end is blocking the email. glossopband you might consider grabbing a free email id from one of the many respectable sources out there, then logging out of your admin account and attempting to register - from home - with the new email addy. You can then see if it's sending the email, and maybe see if it's getting trapped by a spam filter whereever you happen to get your free addy from.
Thanks for the help. I've not had chance to try it yet, but will post iether way asap. ( Had to do some work!) - seem good suggestions - and i favour the spam possibilites. I will add an email account to the glosssopband server list which is hosting the blog, so should recognise it.
I run the mail server at the office and there is a possibility it could be rejected as spam, it will be interesting to see the headers and assess why it is considered spam- but one problem at at time!
I noticed that emails with domains at "rediffmail.com" were not sent a verification email. So i tested with gmail and the things are working.
The question still remains, how to get such emails working ?
I tried from home, and yes - it worked fine, so yes, 'spam filtering' seems to be the culprit! on investigating further, I removed the spam filters on the work server and this worked, so I read the headers. The culprit is this
X-Sender-Verify: anonymous@serveraddress.com could not be verified (changed actual address)
which has been added by the ISP, to acknowledge the original sender is invalid, so , Although I could probably say most servers won't be filtering this and it's not a problem, can I change the source somewhere so that the server address is not sent: ...
searched myself - found the line :
$notify_from = $instance_name.'@'.preg_replace( '/^www\./i', '', $basehost );
- finished testing this - fixed the problem - changed the $notify_from to one on a valid email server and I can now create an account from work.
- not sure if this has helped anyone - but
ok - can fix it on my site. But still problems with others! changing $notify_from works with some domains, yet still problems with others. hotmail.co.ul accounts seem to be getting nothing. I have tried changing all sorts of headers, but with no avail. It seems that hotmail consider the emails to have too high a 'spam rating' - what to do !!! any suggestions welcome!
If some email addresses do not work or mails do not arrive where expected it's certainly a problem of some mail server setup somewhere and not a problem with b2evolution, which just uses the builtin mail functionality of PHP.
For the debugging this you should test it out yourself: send emails from different locations to somewhere and analyze the mail headers.
Yes, I see that, however, seeing hotmail is hardly 'some mailserver', I doubt I am unique in having this problem. As hotmail emails seem to disapear without even a rejection notice it's a bit hard to analyse what they are finding so objectionable. as before, any help welcome. Meanwhile I wil investigate on other PHP sites etc and post back if I find anything useful
without changing the source , the header
Return-Path: <anonymous@server> is recieved.
looking at other sites I found the header
'Reply-To'
to be referred to, so I added
$headers['Reply-To'] = $notify_from;
to _miscfuncs.php after
$headers['Content-Type'] = 'text/plain; charset='.$current_charset;
and the problem seems to be resolved with msn. Not sure what this suggests, but it fixed my problem. If it fixed anyone else's, even better. If there's a better way to do this, or someone can explain the reason the change fixes the problem then that would be appreciated too
Could you send me the mail header before and after the change as PM? I'd like to take a look at them to see if I can find something.
So you say that adding a "Reply-To" link with the same values as the "From" one (AFAIR) helps to get the mail through to msn?
been checking again - though I had found a fix - but no - I Was trying a new user on the localhost copy of the site - which worked without problem.
these are the headers I got on the msn account from my windows pc, set up as described
From : <webmaster@glossopband.org>
Reply-To : webmaster@glossopband.org
Sent : 18 February 2007 22:53:28
To : myhotmailaccount@hotmail.co.uk
Subject : Validate your email address for "new5"
| | Trash Can | Inbox
Received: from ptb-relay01.plus.net ([212.159.14.212]) by bay0-mc6-f11.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Sun, 18 Feb 2007 14:53:36 -0800
Received: from [80.229.22.155] (helo=b2) by ptb-relay01.plus.net with smtp (Exim) id 1HIuuV-0008Fw-Sdfor myhotmailaccount@hotmail.co.uk; Sun, 18 Feb 2007 22:53:36 +0000
X-Message-Info: LsUYwwHHNt2OT+fsgo2/1GSrtygOlFPyOUT00pjpgic=
X-Mailer: glosssopband.org log registration engine
X-Remote-Addr: 127.0.0.1
Return-Path: me@pcaccount.co.uk
X-OriginalArrivalTime: 18 Feb 2007 22:53:36.0851 (UTC) FILETIME=[9FC97230:01C753AF]
here are some headers from the live site received for a new account on my pc account
X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on pih-sunmxcore09
X-Spam-Filtering-Done: yes
Envelope-to: me@myhomemail.com
Delivery-date: Mon, 19 Feb 2007 00:02:27 +0000
Received: from ptb-mxcore13.plus.net ([212.159.14.227])
by pih-sunmxcore09.plus.net with esmtp (PlusNet MXCore v2.00) id 1HIvz9-0002dB-4j
for me@myhomemail.com; Mon, 19 Feb 2007 00:02:27 +0000
Received: from [85.159.88.146] (helo=psa1.dns6.com)
by ptb-mxcore13.plus.net with esmtp (PlusNet MXCore v2.00) id 1HIvvc-0000MN-3f
for me@myhomemail.com; Sun, 18 Feb 2007 23:58:48 +0000
Received: (qmail 17726 invoked by uid 33); 18 Feb 2007 23:59:39 +0000
Date: 18 Feb 2007 23:59:39 +0000
Message-ID: <20070218235939.17723.qmail@psa1.dns6.com>
To: me@myhomemail.com
Subject: Validate your email address for "new7"
Content-Type: text/plain; charset=iso-8859-1
X-Mailer: glosssopband.org log registration engine
X-Remote-Addr: 80.229.22.155
From: webmaster@glossopband.org
X-PN-VirusFiltered: by PlusNet MXCore (v4.00)
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Mon Feb 19 00:02:27 2007
X-DSPAM-Confidence: 0.8197
X-DSPAM-Improbability: 1 in 456 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Factors: 27,
Received*by+uid, 0.00057,
Received*uid, 0.00057,
Received*invoked+by, 0.00057,
Received*invoked, 0.00396,
Received*(qmail, 0.00396,
account+Please, 0.00654,
your+session, 0.01000,
Subject*email+address, 0.01000,
Received*59+39, 0.01000,
Received*Mon+19, 0.01000,
Received*Sun+18, 0.01000,
Received*18+Feb, 0.01000,
Received*18+Feb, 0.01000,
Date*18+Feb, 0.01000,
Delivery-date*02+27, 0.01000,
Delivery-date*Mon+19, 0.01000,
Received*39+0000, 0.02080,
Received*59, 0.02576,
Received*0000, 0.03337,
link+is, 0.03423,
Received*39, 0.03772,
clicking+on, 0.04628,
Received*2007+00, 0.94980,
Delivery-date*00+02, 0.05466,
Delivery-date*2007+00, 0.94198,
Please+note, 0.05807,
reasons+the, 0.06070
-- not sure where to go from here -- plus its gone midnight here and am resisting the urge to throw the pc through the window !!! thanks for the help
nb after site update -
Reply-To: webmaster@glossopband.org
follows X-Remote-Addr
no email to hotmail account
can generate an email to hotmail with
<?php
$email = "myhotmailacc@hotmail.co.uk";
$subject = "welcome";
$message = "welcome message";
$headers = 'From: webmaster@glossopband.org' . "\n" .
'Reply-To: webmaster@glossopband.org' . "\n" .
'X-mailer: php/' . phpversion();
mail($email, $subject, $message, $headers);
echo "<p> sent message </p>";
?>
Can you send yourself a mail through the message form?