News & Blog

How I Resolved My Ubuntu Sendmail Woes

November 21st, 2015 - Posted by Steve Marks to Server Management, Web Development.
I’ve hosted my sites with 1and1 for years now and after countless issues with them (mainly their woeful support) I’m finally taking the time to move my sites away. After much investigation I opted to go for DigitalOcean. Firstly, if you’re looking to move your sites somew...

How To Send Emails in WordPress using Gmail SMTP

October 27th, 2015 - Posted by Steve Marks to PHP, Software, Web Development.
The majority of the time we will send emails from enquiry forms using the servers’ built-in mail functionality. This means using the PHP mail() function, or letting WordPress use the mail() function behind the scenes. 99 percent of the time this works fine, however we do sometimes co...

Resolving Error with Sending Emails via SMTP Using CodeIgniter

November 18th, 2014 - Posted by Steve Marks to PHP, Web Development.
When sending emails using the CodeIgniter Email Class, I’ve always just kept the protocol as ‘mail‘ meaning emails get sent using the standard PHP mail() function. Recently however, on an application we had been developing, emails were a critical part of the system. We ha...

Find Large Emails in Thunderbird Clogging up your Mailbox

June 16th, 2014 - Posted by Steve Marks to Miscellaneous, Software.
Today saw my mailbox bursting at the seams with the size reaching a whopping 95%. In the back of my mind I knew that I had previously received some huge emails from clients with massive attachments. I just had to find these large emails and delete them. We use Mozilla’s Thunderbird a...

PHP Multipart Email Getting Cut Off

November 12th, 2010 - Posted by Steve Marks to PHP, Web Development.
By sending multipart emails we can send two versions of the same email at the same time; One sexy HTML version containing all the bells and whistles for modern email clients, and a fallback plain text version for older email clients or users who have HTML formatting disabled. Without the u...

Clearing Attachments Using CodeIgniter’s Email Class

November 4th, 2010 - Posted by Steve Marks to PHP, Web Development.
The CodeIgniter Email Class makes it very simple to send emails by handling the creation of mail headers and more on your behalf. My favourite benefit of the class however is it’s attachment handling. Whereas using standalone PHP it would take multiple lines of complex code to attach...