About Custom Email Template Design Responsive
About Custom Email Template Design Responsive
About Custom Email Template Design Responsive
Use Mail-Tag from Contac Form 7 in a script
I would handle this with Page Templates, as hinted at by @BrianFegter. Create a page template that does what you need (there are many PHP/WordPress tutorials out there on how to create pages, process forms, and output data). Once you have your template, create a page, and apply that template to it. Voilà, form processing. … Read more
Ok, so I switched the image root path from define(‘SUBSCRIBE_USER_BASE_DIR’, dirname(__FILE__)); to define(‘SUBSCRIBE_USER_BASE_URL’,plugin_dir_url(__FILE__)); and this worked. dirname(__FILE__) registers: <img src=”https://wordpress.stackexchange.com/var/www/html/internal/wp-content/plugins/AV_-_Subscribe_User/email/email_header.png” Whereas the latter plugin_dir_url(__FILE__) outputs: <img src=”http://mysite.com/wp-content/plugins/AV_-_Subscribe_User/email/email_header.png” I’m not 100% clear as to when to use which but I’m guessing that I would use dirname when I am operating within the site server.
If you decided to go that route, this should work. Just add this to your themes functions.php file: // Add Shortcode function link_inline_styling( $atts , $content = null ) { // Attributes extract( shortcode_atts( array( ‘url’ => ”, ‘target’ => ”, ), $atts ) ); // Code return ‘<a href=”‘.$url.'” target=”‘.$target.'” ><span style=”font-family:Arial,Verdana;font-size:12px;font-weight:12px;color:#337D98;”><strong>’.$content.'</strong></span></a>’; } add_shortcode( … Read more
I think MailPoet gets pretty close, you can setup a template, drag and drop posts, etc. You can even have it send via Mandrill or Railgun, etc if you want. Otherwise it doesn’t seem like it would be that hard to to setup the generated HTML. It’s really the “choosing posts” that’s the hard part … Read more
The mailto protocol is fairly limited and does not support html in the body. Notably iOS supports some tags, but you cannot rely on that. The point is that mailto parses information from the browser to the user’s email program. The more tags are allowed, the higher the security risk becomes. So, if you insist … Read more
The problem was indeed in the settings from my SMTP host (Elastic Email). They also had a update but the ‘Auto’ function doesn’t work properly. You have to change it to html/text and Woocommerce emails will work again
You are missing a single quote ‘ $activation_url=”mobileappname://accesstoken#w34rdgtsrt5v6m; should be… $activation_url = “mobileappname://accesstoken#w34rdgtsrt5v6m’; or (using double quotes)… $activation_url = “mobileappname://accesstoken#w34rdgtsrt5v6m”; Update: See this codex entry for more: http://codex.wordpress.org/Function_Reference/wp_mail add_filter( ‘wp_mail_content_type’, ‘set_html_content_type’ ); wp_mail( ‘[email protected]’, ‘The subject’, ‘<p>The <em>HTML</em> message</p>’ ); remove_filter( ‘wp_mail_content_type’, ‘set_html_content_type’ ); // reset content-type to to avoid conflicts — http://core.trac.wordpress.org/ticket/23578 function set_html_content_type() … Read more
You are passing the content of the message through the strip_tags() function. The result is the content of the email with the HTML tags striped. Try not using that function.