I'm not sure, I must admit that I really don't know... I guess we will have to hear what d11wtq has to say about it.astions wrote:Oren, in this situation using swift would be like using a freight train to pull a pack of cigarettes down an icy hill.
Mailer Code
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
But I'm biasedOren wrote:I'm not sure, I must admit that I really don't know... I guess we will have to hear what d11wtq has to say about it.astions wrote:Oren, in this situation using swift would be like using a freight train to pull a pack of cigarettes down an icy hill.
Nah, I can see how someone would like to avoid adding Swift with its umpteen files if all they want to do is send a note or something that's not crucial. However, if I had a client on my back it would have been a lot quicker of a fix, and it does just sit by itself
I pulled the message from the mail query. They are all bouncing because the return path is invalid (Return-Path: <anonymous@.>)
Does PHP need to be configured to set the return path or what?
Does PHP need to be configured to set the return path or what?
--------------
MESSAGE NUMBER 47940827
--------------
Received: (qmail 23908 invoked for bounce); 4 Apr 2007 22:49:13 -0000
Date: 4 Apr 2007 22:49:13 -0000
From: MAILER-DAEMON@IPDMEG0120MIA.usa.prod.interland.net
To: postmaster@IPDMEG0120MIA.usa.prod.interland.net
Subject: failure notice
Hi. This is the qmail-send program at IPDMEG0120MIA.usa.prod.interland.net.
I tried to deliver a bounce message to this address, but the bounce bounced!
<anonymous@.>:
Sorry, I couldn't find any host named .. (#5.1.2)
--- Below this line is the original bounce.
Return-Path: <>
Received: (qmail 23906 invoked for bounce); 4 Apr 2007 22:49:13 -0000
Date: 4 Apr 2007 22:49:13 -0000
From: MAILER-DAEMON@IPDMEG0120MIA.usa.prod.interland.net
To: anonymous@.
Subject: failure notice
Hi. This is the qmail-send program at IPDMEG0120MIA.usa.prod.interland.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<HIDDEN@astions.com>:
Connected to 69.73.185.52 but sender was rejected.
Remote host said: 501 <anonymous@.>: domain missing or malformed
--- Below this line is a copy of the message.
Return-Path: <anonymous@.>
Received: (qmail 23904 invoked by uid 48); 4 Apr 2007 22:49:11 -0000
Date: 4 Apr 2007 22:49:11 -0000
Message-ID: <20070404224911.23903.qmail@IPDMEG0120MIA.usa.prod.interland.net>
To: HIDDEN@astions.com
Subject: Mail Test
From: "Testy, Tester" <HIDDEN@yahoo.com>
Reply-To: "Testy, Tester" <HIDDEN@yahoo.com>
This is a test message. This is a test message.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
GRRR It would be nice if they would clarify crap like that better.
This is just stupid, I have 4 header lines with the from address in it now.
Now I have to update the code in a bunch of installations.
This is just stupid, I have 4 header lines with the from address in it now.
Code: Select all
$headers .= "Return-Path: $f\r\n";
$headers .= "Return-Receipt-To: $f\r\n";
if (preg_match("#<.*?>#s", $b))
{
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
}
$headers .= "From: $f\r\n";
$headers .= "Reply-To: $f\r\n";- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Yep. I wonder if Swift came in a single file like Java does "jar" files whether people would be less intimidated by itastions wrote:It would appear that even when you set the Return path, some servers overwrite it. The server I happen to be dealing with, is overwriting it with garbage
/me wishes PHP had a JAR file type thing
It's not intimidating. (to me at least) I have used it in 4 or 5 scripts that I have built. Finding the documentation on setting a specific thing can take a bit, but it's there.
In this case, a swift light would have been ok. If there was a version that could be integrated into a standalone script, or maybe a 1 class file it would have been fine.
I just didn't want to include a whole folder full of files for a tiny little script. That is how bloatware is born IMO.
In this case, a swift light would have been ok. If there was a version that could be integrated into a standalone script, or maybe a 1 class file it would have been fine.
I just didn't want to include a whole folder full of files for a tiny little script. That is how bloatware is born IMO.