Make Contact Form 7 DMARC-Compliant

Postage Stamps

In April of this year, Yahoo changed its Domain-based Message Authentication, Reporting and Conformance (DMARC) authentication policy. Suddenly, when a user submitted an email using Contact Form 7–and some other WordPress contact form plugins’ forms–using a Yahoo email address, the messages were permanently rejected by some web hosts.

Yahoo is simply trying to reduce the amount of fraudulent emails by rejecting emails using Yahoo email addresses sent from non-Yahoo servers, but It was a really unpleasant surprise for a lot of web developers. Yahoo’s change means legitimate emails sent by users with Yahoo addresses using Contact Form 7 are getting rejected. Other email providers are going to follow Yahoo in using more-strict authentication rules, so even if you don’t care about email from Yahoo users, it’s worth becoming DMARC-compliant. Fortunately, Contact Form 71 comes with a means for making form submissions DMARC-compliant.All you need to do to be DMARC-compliant is to use an email address from your own domain for the “from” address of your Contact Form 7 forms. To make replying to the form-submitted emails a one-click process, you need to set the “reply-to” header in the email to the user’s real email address. Here’s how:

Continue reading “Make Contact Form 7 DMARC-Compliant”

Changing the WordPress Editor Font Size

Magnifying Glass

TinyMCE is the platform-independent, Javascript-based HTML WYSIWYG editor incorporated into WordPress. On its own, TinyMCE uses a  relatively small font size  for the main pane of the editor in WordPress.

Many of WordPress’ default themes come with a style sheet called editor-style.css that overrides the built-in style sheet for TinyMCE, making the font a bit larger and more legible in WordPress. Unfortunately, a number of themes don’t override any of the default TinyMCE styles. I’ve had quite a few clients complain about difficulty reading the default TinyMCE font in WordPress after the theme they selected was installed.

Of course, you could just quickly edit the TinyMCE style sheet and change the font size; however, future WordPress updates might overwrite the change. Fortunately, there are a couple of simple workarounds that will allow you to not only alter the font-size, but also make other styling changes to the editor that won’t be overwritten.

Continue reading “Changing the WordPress Editor Font Size”