Technology Insights

WordPress Not Sending Mail After Moving Site to a New Server

There could be a couple issues causing WordPress to not send mail however in a server move the most likely is that the previous server was using Sendmail and the new server is using a different mail server like Postfix or vice versa. There also are a couple ways to resolve the issue and I will explain each method below however I recommend installing a WordPress Add-on to resolve the issue versus modifying a core WordPress file that could inadvertently be overwritten in the future.

The two ways which are described in detail to resolve this issue are to either install the WP-Mail-SMTP WordPress plugin or to modify the pluggable.php file located in the /wp-root/wp-includes directory. Each method will change the way that the $phpmailer function sends mail.

Technology Insights

How to Take Screenshots on the iPhone and Email The Image

Taking screenshots on the iPhone is simple but can be a very useful tool. I use this tool all of the time to describe how things work or describe cool iPhone features to people. The screen captures on the iPhone are saved as 320×480 pixel JPG’s which aren’t super high resolution but it will open in perfect clarity the same size as your iPhone screen.

To Take a Screen Capture on the iPhone and Email the Image Follow These Steps:

Technology Insights

Delete All Mail Using the mail Command From the CLI of a Linux Server

Deleting mail from a Linux users local account is easy using the mail command line utility. The mail command can also be used to perform any other functions that you can think of to manage email such as replying to messages, reading messages, or just sending messages. It is very basic in nature but it does provide a great utility for simple mail tasks.

Typically most of the mail that ends up in a user account on a Linux server that I might manage comes from a cronjob or some various task that is run on a server under a users name. It is important to understand and review these messages from time to time as they may have important information in them.

Technology Insights

Clear Cached Email Addresses From Outlook 2007, Outlook.NK2 Editing

Over the past couple of years I have been using the same Outlook files which have over time built up a huge cache of invalid e-mail addresses, e-mail address that are no longer used, and various other e-mail addresses I want to remove from the e-mail address cache. The cache that I am talking about is when you compose a new message and then start typing an address into the To, CC, or BCC field it begins to auto complete. On numerous occasions I have mistyped my own address and sent emails which now brings up numerous emails similar to my own and I have to make sure I select the proper one each time. Needless to say I needed to figure out what Outlook 2007 cache file stores these messages and how to edit that file to remove and modify addresses.

Technology Insights

In Outlook 2007 Save Copy of Sent POP Account Messages to Gmail IMAP Sent Folder

In tune with consolidating all of my email accounts to Gmail I wanted to make sure that any email sent from my machine showed up in my Gmail “Sent Items” folder. I still have multiple POP accounts which can actually be configured on Gmail now however the messages show as “account@gmail.com sent on behalf of account@domain.com” in the FROM field on most email clients. To me this looks horrible and I don’t want other people seeing my personal Gmail account. So instead I still have multiple accounts configured locally in Outlook 2007 but I wanted to make sure that all sent mail was located in one place which would be the “Sent Items” folder of the primary Gmail account.

To accomplish the above was easier than I expected it was going to be by setting up a custom rule in Outlook 2007. All it does is check any email sent from the local machine and moves a copy into the gmail “Sent Items” folder. You can set up a similar rule by following the directions below.