Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 Registered (blaaskaak, Gardener, 1 invisible), 22 Guests and 24 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
Gizmo 11678
Rick 7551
Ian 4099
Mark S 3969
ntdoc 3102
Sirdude 2041
jgeoff 1876
David Dreezer 1750
driv 1557
AllenAyres 1523
Latest Photos
Carrie - So Very
Testing
Test Photo
4TH of July at the river!
Test shots from D300 part 3
Page 1 of 3 1 2 3 >
Topic Options
Rate This Topic
#215687 - 07/21/08 06:01 PM [FIXED for 7.3.2] 7.3 Email issue
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
I tried to look at the 7.3.1 changelog but I get an error when I tried to access it, so I don't know if this is something fixed in 7.3.1.

When I send out mass emails, I use the BCC method, but I enter members@myforum.com as the default email address. However, I find that when the emails are delivered the To: line is blank and does not contain the default address. This is causing lots of rejected mail from my users' servers. I'm pretty sure that in previous versions (but not sure how far back) the default addy DID get added to the To: line when sending by BCC.

Top
#215708 - 07/22/08 02:02 AM Re: 7.3 Email issue [Re: Basil]
blaaskaak Online   content


Registered: 08/30/06
Posts: 1211
Loc: Breda, NL
Don't enter a default email address ie something in the to: field.


Edited by blaaskaak (07/22/08 02:03 AM)
_________________________

Top
#215717 - 07/22/08 05:49 AM Re: 7.3 Email issue [Re: blaaskaak]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
Originally Posted By: blaaskaak
Don't enter a default email address ie something in the to: field.


How is that going to help? The problem is, some of my members are not receiving my emails because there is NOT something in the TO: field. The Threads software should place an address in the TO: field if you enter a default address. That way the emails won't be rejected by some email servers that require something in the TO: field.

Top
#215719 - 07/22/08 06:37 AM Re: 7.3 Email issue [Re: Basil]
blaaskaak Online   content


Registered: 08/30/06
Posts: 1211
Loc: Breda, NL
If you put something in the bcc, and leave the to field empty, it will put the receivers address in there for each recipient.
_________________________

Top
#215756 - 07/22/08 11:20 PM Re: 7.3 Email issue [Re: blaaskaak]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
I left the default blank like you suggested and send an email via bcc and again the TO: line was blank. It did not put in the members' names in the TO: field.

Top
#215817 - 07/24/08 12:45 PM Re: 7.3 Email issue [Re: Basil]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7551
Loc: Aberdeen, WA
Hmm, this must be something with how your email server is sending things out. I just did a test here, and leaving the To field blank while sending BCC, and it put each email into the To field.

Since it's dropping the To: even when you have something specified, I'll need to look and see what might be going on there.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#215829 - 07/24/08 08:09 PM Re: 7.3 Email issue [Re: Rick]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
I recently changed servers, so you may be onto something. I thought I remembered that it used to put "members@mydomain.com" in the TO: field if that was what I entered as the default. SO maybe I need to change something a my mail set up....any help or thoughts where to begin would be most welcome.

Top
#215846 - 07/25/08 10:40 AM Re: 7.3 Email issue [Re: Basil]
David Dreezer Offline
Pooh-Bah

Registered: 07/21/06
Posts: 1750
Can you find out if they are using Sendmail, Qmail, or Exim as the mail server, Basil?
_________________________
I swear, if we wipe on trash one more time ...

Top
#215855 - 07/25/08 05:44 PM Re: 7.3 Email issue [Re: David Dreezer]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
Originally Posted By: David Dreezer
Can you find out if they are using Sendmail, Qmail, or Exim as the mail server, Basil?


I'm using sendmail for scripts, the path is /usr/sbin/sendmail


The server mail transport software is exim


Basil

Top
#215966 - 07/28/08 08:52 PM Re: 7.3 Email issue [Re: Basil]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
Bump - anyone?

Top
#215974 - 07/29/08 06:35 AM Re: 7.3 Email issue [Re: Basil]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
Don't want this thread to die. I really need some help here folks. Seems things were working before I moved to a new dedicated server. I did upgrade the threads I think to 7.3 since the move. Did anything change that might affect email? Or, is it, as I suspect, something in my new mail server configuration that is causing the issue? Maybe some setting in WHM or in the mail config itself? Any ideas or suggestions?

Thanks,
Basil

Top
#216015 - 07/30/08 09:12 AM Re: 7.3 Email issue [Re: Basil]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
Rick, you have a PM this time with a video to demo the problem.

Top
#216069 - 07/31/08 01:05 PM Re: 7.3 Email issue [Re: Basil]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
prolly a quick fix is to do the following:

libs/mailer.inc.php find:
Php Code:
	 if ($to || sizeof($bcc) > 0) {
			$this->AddAddress($to); 


change to:
Php Code:
	 if ($to || sizeof($bcc) > 0) {
			if (!$to) {
				$this->AddAddress($config['SITE_EMAIL']);
			} else {
				$this->AddAddress($to);
			} 


and i would actually call that a bugfix.. not a quickfix

i PM'd you as well wink
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#216094 - 07/31/08 07:30 PM Re: 7.3 Email issue [Re: Sirdude]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
Close but no cigar! Now it puts my forum admin address in the TO: field - it still ignores what I type in the Default TO: field. YOu have a PM with details (and a movie)

Top
#216095 - 07/31/08 07:44 PM Re: 7.3 Email issue [Re: Basil]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
why would you care about the TO anyway ? its the BCCs that matter.. NO ?
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#216107 - 08/01/08 05:50 AM Re: 7.3 Email issue [Re: Sirdude]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
Originally Posted By: Sirdude
why would you care about the TO anyway ? its the BCCs that matter.. NO ?


Obviously I care! I would prefer it to be addressed to what I type into the Default field so that 1) my subscribers see "members@britishcarforum.com" in the TO: field, which is what they are used to seeing for the past 8 years and 2) I'd prefer the software works as intended.

Also, when you send out 9000+ emails by BCC (I have over 9400 actually) it will send that many emails to whatever the "TO: address" is. When I send out my emails, I create a temporary email account on my server called members@britishcarforum.com which receives all those extra emails. That way I don't get a bunch of "Undeliverable" messages in my inbox. When I'm done, I simply delete that account, messages and all. However, when the TO: address is my site account address, I end up with 9000+ identical emails in my site admin email account, which gets downloaded via MS Outlook to my computer, which is a pain.

This seems like it should be a relatively easy fix - the variable in the Default TO: field in the mail form ($bogus) is not making it to the "TO: field" of the outgoing message for some reason. I'm hoping this bug can be properly fixed, even if it is not until the next version. I am still willing to help test things if needed, but I would really like to see this fixed.

v/r


Edited by Basil (08/01/08 05:51 AM)

Top
#216114 - 08/01/08 07:35 AM Re: 7.3 Email issue [Re: Basil]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
in 'the fix' line 3 above

$config['SITE_EMAIL'] change to the throw away addy that you've had for 8yrs then:

ie: "iwontreadthis@neener.com" as a temp fix or whatever your temporary email addy is.
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#216115 - 08/01/08 07:44 AM Re: 7.3 Email issue [Re: Sirdude]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7551
Loc: Aberdeen, WA
SD's suggestion will work until I can track down the actual issue. If you want it to be another email, just change that block to.

Php Code:

 ($to || sizeof($bcc) > 0) {
	if (!$to) {
		$this->AddAddress("whateveremail@domain.com");
	} else {
		$this->AddAddress($to);
	} 
 
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#216118 - 08/01/08 07:59 AM Re: 7.3 Email issue [Re: Rick]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
in the end, admin/dosendmail.php needs the real fix.. if i find time, i'll post here.

$bogus is there and not sure if it gets passed along after the 1st redirect.

would be easy to just make that a "both" type of an input and then append to the redirect URL..

never mind (we're using the DB to save shite between POSTs): its a 1 liner in admin/dosendmail.php

find:
Php Code:
$mailer->ubbt_mail('','',false,$bcc); 


change to:
Php Code:
$mailer->ubbt_mail($bogus,'',false,$bcc); 


and leave the original 'temp fix' in, so any blank $To is at least given the site email as a default (for any OTHER cases)..

_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#216131 - 08/01/08 03:48 PM Re: 7.3 Email issue [Re: Sirdude]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
I think I may have solved it. Leaving everything else "stock," then in the file dosendemail.php, around line 288, find this:

Php Code:
$mailer->ubbt_mail('','',false,$bcc); 


and replace with this:

Php Code:
$mailer->ubbt_mail($bogus,'',false,$bcc); 


Does that seem logical? Seems to work and passes the variable "$bogus" to the variable "$to" in the ubbt_mail function.

Basil


Edited by Basil (08/01/08 03:50 PM)

Top
#216137 - 08/01/08 05:32 PM Re: 7.3 Email issue [Re: Basil]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
lmao.. oooookay..

um, that's kinda exactly what i said in the post, prior to yours..

did you read my post above yours ?

Originally Posted By: i typed
its a 1 liner in admin/dosendmail.php

.. then exactly what you posted..

i also further recommended doing the 1st change i posted in this thread, because the mailer should have a default anyway when it's not called with a $To..

so doing BOTH would be what i recommend as the final fix.
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#216138 - 08/01/08 06:46 PM Re: 7.3 Email issue [Re: Sirdude]
Basil Offline
addict

Registered: 08/18/06
Posts: 557
Loc: Southwest US
Originally Posted By: Sirdude
did you read my post above yours ?



<embarrassed> blush I guess I didn't see your post.</embarrassed>

Rick's was the last post I remember seeing. After I messed around and stumbled on the fix, I just popped back in and did a reply without realizing you had posted the same thing. blush

Anyway, I'm very glad to have a resolution...thanks.


Basil

Top
#216139 - 08/01/08 06:48 PM Re: 7.3 Email issue [Re: Basil]
Sirdude Moderator Offline


Registered: 04/19/07
Posts: 2041
Loc: SoCal, USA
no probs
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
Page 1 of 3 1 2 3 >