Questions tagged [html-email]
The html-email tag has no usage guidance.
37
questions
0
votes
0
answers
8
views
WooCommerce Email Customization - button at bottom of email [closed]
I know to get to the emails I need to go to wp-admin > WooCommerce > Settings > Emails but I can't seem to find where I can edit the button that says "Impressed by our service? Leave a ...
0
votes
0
answers
26
views
About Custom Email Template Design Responsive
I created a custom email function using wp_mail() function. I did everything which is required for mail template. This function is working well. But I need it to be responsive. I found that I can use ...
0
votes
1
answer
71
views
WordPress new user email formatting issues
I have a WordPress site where i have Issue with the email, that user receives after creating an account.
Email that a user receives, looks like this: https://tinyurl.com/y45bgy5z
There is no ...
0
votes
1
answer
31
views
Woocommerce Email show HTML source code [closed]
I updated my Woocommerce to version 5.6.0 but since that update the emails send by Woocommerce (invoice/order updates etc) will be send as HTML-source code despite it has to send a designed template. ...
1
vote
0
answers
44
views
Unable to send custom welcome email after user register
I am trying to send a custom welcome email after user register on our website. The default role set is 'subscriber'. The email should pull some user meta values and display the same in the email.
I ...
0
votes
1
answer
31
views
How to add (and change the font of) the short product description to order page and customer's new order e-mail [closed]
I'd like to add the short product description to the e-mail that is sent to the customer when a new order is confirmed.
I've added the following via a code snippets plug-in:
add_filter( '...
0
votes
1
answer
264
views
Insert Current URL into MailTo link in wordpress
I'm trying to figure out a simple way to "grab current URL" and use mailto link such as:
<a href="mailto:email.com?subject=Booking%20Request%20%value%&body=Hello%20Daisy%2C%0A%0AI'm%...
1
vote
0
answers
131
views
How to set wp_editor to be email friendly?
I am sending emails via wp_mail() using a text/html header. So i need html formatted content.
I want to use wp_editor() to edit my custom email template options. It has a Visual and Text tab for ...
0
votes
0
answers
43
views
How to encode correclty an url with the char "&" for an email?
In a plugin I need to send an email to confirm a member registration.
Inside this email HTML Content, there is a link with two parameters like this :
site_url() . "/user-profile/?activate=true&...
1
vote
0
answers
1k
views
Sending HTML emails via wp_mail not working properly
Task to accomplish:
1) A user types information in a form
2) Via ajax (method: POST) the form gets posted to wordpress
3) Wordpress takes the form
4) Wordpress creates an HTML-email which contains ...
2
votes
3
answers
4k
views
Set content type to HTML for lost password email only
Is there a way to change the content type for only the password reset email?
I have a custom HTML template for it, and have set wp_mail_content_type to text/html and am applying the template with a ...
2
votes
1
answer
1k
views
Woocommerce HTML email option unavailable
I am attempting to create HTML emails in woocommerce. I currently only have the plain text email option available. I have added the following to functions.php on my theme:
function ...
1
vote
3
answers
4k
views
wp_mail not sending
So I have a localhost WordPress server, and the function wp_mail workd perfectly and sends. When I put the exact same file in an actual WordPress website as a theme, it only shows me a blank screen, ...
-1
votes
1
answer
688
views
Turkish Character Problem on mailing
I am using Woocommerce plugin for my e-commerce site.
For mailing I've installed Postman SMTP.
I could not handle with Turkish characters on ongoing e-mails. Such characters "Şşğ..." on mail body I ...
0
votes
2
answers
48
views
Getting image in mail
I need to get a post thumbnail to show up in an email, but this doesnt work with just mailto: as i've tried it.
<a href="mailto:?subject=Anbefalt innlegg - <?php the_title(); ?>&body=Hei,...
4
votes
2
answers
2k
views
Mail will not send in HTML
Okay, I've got the following issue. I'm trying to send a mail in HTML format. I made a class that returns an HTML string, and that works great.
When I pass that html-mail as $message in my function, ...
3
votes
1
answer
6k
views
Send an email that contains a HTML and plain text part
I am sending emails from my wordpress using SMTP Postman plugin.
I have created a function in my functions.php file that creates a HTML registration email as per the below:
/* Custom user ...
1
vote
1
answer
557
views
WP mail sent to MS Exchange recipients = occasional email corruption?
My office processes many email receipts from WordPress-based forms (primarily using the Formidable Pro plugin). Starting in the last 6 months, one out of every ~15 emails sent from WP will come ...
0
votes
1
answer
2k
views
daily job to run send email based on user data
Quick setup/info:
A user can login to my site and is presented with a form to complete. The form contains a Category drop down, and then 5 possible text fields with a Task Name and a Completion Date ...
-1
votes
1
answer
1k
views
What is the correct way to send multipart email in wordpress?
I haven't seen an example sending email containing both html and plain text using wp_mail function.
0
votes
2
answers
1k
views
Generate Email Newsletter HTML from Posts published within a Date Range?
I would like to basically send a newsletter type email to a listy I have using a 3rd party such as MailChimp. My goal though is to be able to find or build a WordPress plugin that will allow me to ...
5
votes
2
answers
3k
views
Using WordPress templating for HTML emails
I am working on a plugin that needs to send out an email after a form submission.
I am using wp_mail() for this and it works fine. My problem is that in my code the HTML is generated by a bunch of ...
5
votes
2
answers
35k
views
how to set from address according to the form input email address for wp_mail()?
I am trying to create form and send it to my e-mail address using wp_mail.
my wp_mail() code is:
if($_POST["submit"]) {
$to="my email";
$subject ="My subject";
$sender=$_POST["...
0
votes
1
answer
3k
views
PHP form is not sending mail if I use mime type and version in header. How to solve this? [closed]
If I use the following code, then the form works fine and I am getting form submissions to my email.
<?php
if($_POST["submit"]) {
$recipient="meemail@gmail.com";
$subject="New request";
...
0
votes
1
answer
1k
views
How To Style Links in Content Area With <span> Tag Automatically?
This is like a suicide mission for me.
I have to avoid CSS because I want to build a website that will help me to create HTML templates for email campaigns.
Email readers can't read CSS, so CSS is ...
0
votes
1
answer
2k
views
HTML email sent with wp_mail shows plain text
I have an HTML invoice that I want to send.
I use the following function to replace some things in the HTML
foreach($variables as $key => $value){
$template = str_replace('{{ '.$key.' }}', $...
0
votes
1
answer
202
views
MailPress plugin: table inline style tag removed when sending the newsletter
I have coded my own MailPress theme for my newsletter using tables and inline styling for good look and feel of my newsletter. I have in the files header.php and footer.php html table code with inline ...
0
votes
1
answer
5k
views
wp_mail strips out the link url from the anchor tag in mail content
When the email content contains a link with url like: mobileappname://accesstoken#w34rdgtsrt5v6m,
<a href="mobileappname://accesstoken#w34rdgtsrt5v6m">Click</a>
wp_mail function removing ...
3
votes
3
answers
28k
views
Include HTML template file in wp_mail
I'm using wp_mail() to send an HTML email. But there's quite a lot of HTML code in the email, so rather than including all the code in my wp_mail() function, is it possible to have the code in a ...
0
votes
1
answer
275
views
Not able to override pluggable function with a mu_plugin
I'm trying to modify the email that's sent to users when they are invited to join my multisite network. Understanding I can only use the pluggable function, how do I override the default email with a ...
4
votes
3
answers
16k
views
Create custom welcome email without a plugin
Is there a way to customize the email content and subject for the welcome and verification emails sent during the registration process for Wordpress? I'd like to hook or filter in without using a ...
0
votes
2
answers
8k
views
Is it possible to send blog posts via email to subscribers?
Would like to be able to send the blog post in an email mail to my subscribers, this would be great if it can be achieved through a plugin.
0
votes
1
answer
4k
views
Images in wp_mail not showing
I created a plugin that sends an email:
$subject = 'New comment - '.$post_title;
ob_start();
include(SUBSCRIBE_USER_BASE_DIR . '/email/message.php');
$message = ob_get_clean();
...
1
vote
1
answer
64
views
Does anyone know a plugin that turns a 'post' into an html newsletter?
I know you could just grab the code or some such. But I'm trying to figure out a way to easily implement this for a client.
All my googling has just turned up signup forms, not anything for actually ...
0
votes
1
answer
592
views
Programming Wordpress to send a custom-built form to specified email address
I have built a custom html/javascript form that I would like to incorporate into my blog. I would like the submit button of the form to send the information to a specific email address. Is there a way ...
65
votes
5
answers
125k
views
Is there a way to send HTML formatted emails with WordPress' wp_mail() function?
Is there an action_hook or something similar that could help me achieve this?
I tried adding markup in a PHP string variable and just fired off an email with the wp_mail() function like so:
$...
0
votes
2
answers
611
views
Send batch of posts as HTML Email?
Looking for a little help getting to grips with a quote, part of which is producing quarterly reports consisting on all the posts from that quarter.
My question is two fold - Is there a plugin that ...