Skip to content

Instantly share code, notes, and snippets.

View MailPoet-Staff's full-sized avatar

MailPoet-Staff

View GitHub Profile
<?php
add_filter('mailpoet_mailer_smtp_options', 'mailpoet_secure_connection_options');
function mailpoet_secure_connection_options() {
return [
'ssl' => [
// description of available options can be found here: http://php.net/manual/en/context.ssl.php
'verify_peer' => false,
'verify_peer_name' => false,
@MailPoet-Staff
MailPoet-Staff / sign-up-confirmation
Last active February 27, 2022 15:50
MailPoet signup confirmation email
<!doctype html><html><head><meta charset="UTF-8"><title>Thanks for signing up</title></head><body bgcolor="#ffede3">
<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#ffede3"><tr><td>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0" bgcolor="#ffffff"><tr><td colspan="3"><a href="http://www.mailpoet.com"><img style="display:block;border:0;outline:none;-ms-interpolation-mode:bicubic;" src="https://www.mailpoet.com/wp-content/uploads/2019/01/mailpoet-logo-orange-header.png" width="600" height="118" alt="MailPoet" /></a></td></tr><tr><td width="20"></td>
<td style="color:#071c6d;font-family:arial,sans-serif;font-size:15px;">
<b>Hello!</b>
Thanks for signing up.