Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2005
Posts: 137
Member
Member
Joined: Jul 2005
Posts: 137
Not sure this is a bug hence the posting in here.

Upgraded to 7.5.2 over the weekend, and then moved the whole shebang over to new server (and new host).

To test things, i logged in as the admin and sent an email using the member managemant facility to my own normal forum user. I used the system admin email as the TO.
I get the TO email at the system admin address although it does not look quite right...
(i dont know how to embed an image so this is a straight text copy from the email)
Code
No need to reply to this email.  
Hi ,

Hi

This is a test message to verify that the system emailer is working.  
 
 

As you can see there is no name in the "Hi , " bit.


However i also get an undeliverable email generated.
(part of message shown below)
Code
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

  b@lanark.just4dns.com
    Unrouteable address

------ This is a copy of the message, including all the headers. ------

Return-path: <hrmsaces.admin@hrmsaces.co.uk>
Received: from nobody by lanark.just4dns.com with local (Exim 4.69)
	(envelope-from <hrmsaces.admin@hrmsaces.co.uk>)
	id 1LtPCO-0005rq-AY; Mon, 13 Apr 2009 17:39:56 +0100
To: hrmsaces.admin@hrmsaces.com
Subject: Testing the system mailer
Date: Mon, 13 Apr 2009 17:39:56 +0100
From: HRMS Aces - The Oracle HRMS Community <hrmsaces.admin@hrmsaces.co.uk>
Message-ID: <7a31e70fae555c9fb013f6bed76d1a4f@hcmaces.com>
X-Priority: 3
X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.2]
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="b1_7a31e70fae555c9fb013f6bed76d1a4f"
X-Fuzioned-MailScanner-Information: Please contact the ISP for more information
X-Fuzioned-MailScanner-ID: 1LtPCO-0005rq-AY
X-Fuzioned-MailScanner: Found to be clean
X-Fuzioned-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
 


The email address shown, b@lanark.just4dns.com, is not my email address!
Curiously i tried this out pinging another user of my forums, and got the same bounced email - the only difference being the "bad address" bit. (see below)...
Code
 This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

  c@lanark.just4dns.com
    Unrouteable address

------ This is a copy of the message, including all the headers. ------

Return-path: <hrmsaces.admin@hrmsaces.co.uk>
Received: from nobody by lanark.just4dns.com with local (Exim 4.69)
	(envelope-from <hrmsaces.admin@hrmsaces.co.uk>)
	id 1LtGR4-0004hd-31; Mon, 13 Apr 2009 08:18:30 +0100
To: hrmsaces.admin@hrmsaces.com
Subject: hrmsaces is now alive

This time the bad address is "c@lanark.just4dns.com"

The bit before the @ sign happens (coincidentally??) to be the first letter of the correct email address (in both cases this is true).

Now i am guessing that i have messed things up somewhere along the lines when i zipped up, shipped, unzipped the forums. Trouble is i dont know where to start looking.

Any help would be appreciated

Cheers

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, are you sending the emails out via Bcc, or one-by-one? If you're doing Bcc, give one-by-one a try and see if that changes anything.

If both are failing then we'll need to look into a couple more things.

Joined: Jul 2005
Posts: 137
Member
Member
Joined: Jul 2005
Posts: 137
BCC

I'll try the one-by-one now.

Joined: Jul 2005
Posts: 137
Member
Member
Joined: Jul 2005
Posts: 137
Okay, the one-by-one method seems to be working. And the "hi" bit also includes the user name....

What next guvnor?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, the "hi" portion is normal. When sending via BCC it sending one email to multiple users, so it can't include the username.

As for the email problem. Since it's taking the first letter of the email address, it seems to be treating the array as a string. I'd guess maybe there is a mismatched script somewhere.

First thing I'd do is double check that you upgraded everyting, specifically all of the files in the libs directory.

Joined: Jul 2005
Posts: 137
Member
Member
Joined: Jul 2005
Posts: 137
I followed the upgrade route as written by Gizmo. Is there a way of checking/comparing files, or is it safe to take the libs files from the 7.5.2 zip and drop them over my libs dir on my site?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
You can just drop them all in place. Everything in the libs directory can be overwritten.

Joined: Jul 2005
Posts: 137
Member
Member
Joined: Jul 2005
Posts: 137
To answer my own...I've done a compare against the 7.5.2 zip and whats sitting on my server for the libs directory (and sub dirs) and they all check out ok.
I'll trawl through the others now...but any further clues?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I'd double check the admin directory as well, and also maybe check the php version on the new host. If all of that checks out, then we might end up needing a support ticket since I'd need to do some direct debugging.

What's happening is when sending via BCC, it builds an array of email addresses.

"email1@domain.com","email2@domain.com","email3@domain.com"

We then grab each one, array[0] would be email1, array[1] would be email2, and so on.

On your server, when we grab array[0], it's just returning the e instead of the full email. That will happen if it thinks the whole thing is a string, so [0] would specify the first character of that string.

Joined: Jul 2005
Posts: 137
Member
Member
Joined: Jul 2005
Posts: 137
Admin all checks out.

I'm running php version 5.2.8

Its been a long time since i raised a ticket - how do i do that? smile

EDIT
I'll raise a ticket anyway for you.

Last edited by Crasher; 04/13/2009 3:13 PM.

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)