Comments (8)
Hi @xianx, what does your template code look like for that link?
from wordpress-sparkpost.
How you've used content
in your template? If you want to substitute without escaping content, you need to use {{{content}}}
(note 3 curly braces) instead of {{content}}
.
from wordpress-sparkpost.
@yargevad I have already included screenshot http://prnt.sc/az7u4c
from wordpress-sparkpost.
Let me explain more clearly. That screenshot shows a rendered template. I'm interested in what the source of your template looks like, including all of the curly braces, like @rajumsys shows above.
from wordpress-sparkpost.
https://gist.github.com/xianx/74a1e8cdbd701c79f7ff576d26514b2c
from wordpress-sparkpost.
I have just tested that when ever 2 curly bracket is using Forget link is sending but link tracking and line breaks are not working.
from wordpress-sparkpost.
I'm having this issue as well. My template is using the triple braced {{{content}}}
- I think it has something to do with the formatting of the WordPress password reset message that is generated by WP core, shown here:
My temporary work-around is to override that message with a custom filter:
/* Edit the Lost Password Email */
function sparkpost_retrieve_password_message( $message, $key, $user_login, $user_data ) {
$message = __('Someone has requested a password reset for the following account:') . "<br /><br />";
$message .= network_home_url( '/' ) . "<br /><br />";
$message .= sprintf(__('Username: %s'), $user_login) . "<br /><br />";
$message .= __('If this was a mistake, just ignore this email and nothing will happen.') . "<br /><br />";
$message .= __('To reset your password, visit the following address:') . "<br /><br />";
$message .= network_site_url("wp-login.php?action=rp&key=$key&login=" . rawurlencode($user_login), 'login');
return $message;
}
add_filter('retrieve_password_message', 'sparkpost_retrieve_password_message', 10, 4);
from wordpress-sparkpost.
@rajumsys this appears to still an issue in 3.0.1, especially with gmail clients or Google Apps for work.
Can this be included in the 3.1 release?
from wordpress-sparkpost.
Related Issues (20)
- Allow option to raise email exceptions HOT 1
- Support adding Campaign tag HOT 1
- Newly installed sparkpost plugin, getting SSL error: Failed to enable crypto HOT 3
- Show admin-wide alert if plugin is not ready to send!
- BuddyPress not sent with SparkPost HOT 3
- Why is Content-Type unsupported? HOT 9
- API Transmission Endpoint Changes HOT 2
- Retry transmissions after 5xx Error HOT 1
- Sparkpost replaces the url with a custom url HOT 3
- Emails could not be sent. htmlentities() expects parameter 1 to be string, array given in xxx HOT 8
- Missing assets folder in plugin installation HOT 6
- Retry transmissions after cURL error
- QUIT
- Sparkpost for only one contact form?
- reply-to not working
- Disable SparkPost mailer using a PHP constant
- Plugin uses incorrect bounce domain HOT 1
- Wondering if this plugin is still being maintained? HOT 1
- Deprecated notice on WP 5.5 HOT 2
- Fatal error: Uncaught Error in PHPMailer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-sparkpost.