Category Archives: PHP tips
Fatal error: Uncaught exception ‘Swift_Rfc ComplianceException’ with message ‘Address in mailbox given
Yep, just another open source software errors I’ve got. In my situation, I was using news-mailer plugin for wordpress, as I needed to send some mails to all registered users. While testing this plugin with my email, everything went ok, but as soon as I tried sending email to all users, I’ve got this error: [...]
WordPress wp-mail.php command failed error
I use wordpress post via email feature, and use default script, wp-mail.php which connects to emailbox, reads emails and posts them into blog. Almost everything was working OK, untill I noticed lots of dublicated posts. I tried to run the file directly, and almost all posts were ok, but script stucked on one post(email message). [...]
SMF 2.0 insert post via function API
I decided to create an automated forum poster for SMF forums. Found description of their function reference. Function was located at Subs-Post.php Function name: createPost Function description Inserts a new post into the database with the appropriate options. Function syntax bool createPost (array &$msgOptions, array &$topicOptions, array &$posterOptions); I will not repeat their description, here is a direct link. However, I’ve met [...]
