Yes, but if Gus can help us fix the regex (I have a version in my inbox already) simply, we might as well go with that.
Unless I misunderstand things, the user name doesn't actually do anything. It's just part of the value that gets returned to the server if the user accepts the default email address for the "from" part of the email. (If the user does not accept the default but types in her own "from" address, the server gets the email address without the user name.)
Fixing that is easy. In the code that sets up the form, just change
<input type="radio" name="replyto" value="<? echo "$_user->name <$_user->email>" ?>" checked>
to
<input type="radio" name="replyto" value="<? echo $_user->email ?>" checked>
eta: I can send e-mail to the admins at .net just fine
Oh, I missed that. The fixed version of email.php was there when you tried.
My email just went down, so ....
Well this sux. The board keeps wrecking the expression.
Wait one, I'll post it on my site.
Here we go mock code.
It doesn't catch mismatched quotes in the name, but all three etsts in the script pass a success back.
Tommy - take a look at the code on the vote pages (under the votes directory. I know my code works because it's been used a lot. I fixed exactly what you're talking about.
I get that, tommy. But if it's not hard to send a neatly formatted e-mail, why not? If it is hard, then we can bag it.
Gus, why don't you just e-mail it to me in the morning? Cutting and pasting from the mangled stuff here (which should also be put on the to-fix list) confuses and makes things odd.
But if it's not hard to send a neatly formatted e-mail, why not?
Oh. Duh. I didn't realize that the user name actually does something--it's what's displayed in the email itself. I just didn't see why it was there in the first place.
My email will be down through tomorrow, due to a some thingy with my ISP.
If you right click and "download as" the actual code through the link I just added, we should be golden.
eta: Just to be clear, the code should be downloaded from the link on my site, not the link to the site ... GAH!
From this link.
If it helps any, I do remember punctuation in user names causing issues with the email form thingies.
Gus, that link takes me to the result of an evaluation (111) -- I can't see the actual code. Maybe if you zip it, or display it in HTML?