Category: Uncategorized

PEAR MIME-mail with non-ASCII characters in recipient field

Creating headers using the Mail_mime::headers() function when there are non-ASCII characters in the To field (the From and Subject fields don’t suffer from this problem) and then trying to send the message results in a “Validation failed for: <recipient>” error. Overcome this by encoding the recipient field separately using the Mail_mime::encodeHeader() function before passing it to Mail_mime::headers().

Read More

Useful links

Some tabs I’m hoarding right now. Can’t close anything until I make a note of them somewhere. It’s a manic affliction. – the .htpasswd generator I used to get back into this site – the hasher that I used to get back into this site – adding directions to embedded Google maps – […]

Read More

Don’t ask me what I meant

If you’re not a native speaker of my language and you didn’t understand me, that’s your fault. Seriously. Don’t look at me like I have horns growing out of my head and don’t ask me if I meant to say what I said in a different way – just accept that I said what I […]

Read More