Yes, and by the timing of all this, I would say that it was completely broken on their end (no mail being passed to sendmail or similar) and they fixed it during your tests. No solid conclusions can be drawn here. There are two different elements to the “from” bit. In early versions of PHPFF, only the first of these (the fourth variable) was being set. Later on, Tim added the sendmail flag (the fifth variable). For your edification, here is the function (in PHP) that actually sends the mail, with the variables named sensibly:
function mail($to_address, $subject, $body, $headers, $flags);
$headers takes a string of text, with the individual headers separated by newlines (line-breaks), like this:
From: me(a)my.com
Bcc: you(a)your.com
Reply-to: them(a)their.com
$flags takes a string in Unix “flag” format:
-fme(a)my.com -v
The dash-f is the flag and the variable immediately follows it. -v would turn on verbose mode in Sendmail, but since it doesn’t report back to you, it’s meaningless in this context. I just put it in there to show you how another flag would look in the variable value.
Walter
On Jun 11, 2012, at 12:23 PM, JAC wrote:
That last message is Greek to me. I have always been able to dictate which email address the form goes to (the 5th variable I presume), but I’m not sure if that is what you meant.
The test worked, yes, but other forms had already started working at that point so I’m not sure I could say the server was broken. It seems that deleting the action, reapplying it, publishing all, and reuploading the entire site is getting them working again. From that, I would assume Fat Cow had a PHP upgrade.
Agreed?
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options