bobray / emailresource Goto Github PK
View Code? Open in Web Editor NEWEmails a full version of any resource on your site
Home Page: https://bobsguides.com/emailresource-plugin-tutorial.html
Emails a full version of any resource on your site
Home Page: https://bobsguides.com/emailresource-plugin-tutorial.html
As the fullUrls
method converts all URLs to full URLs it breaks in-page anchors in emails.
So it would be nice if this method would skip in-page anchor links like this one:
<a href="#pagefooter">Goto page footer</a>
I tried to play around with the regexes but failed hard ;-)
The following installation error occured in Revolution 2.2.4-pl:
/*
* MODX Console Output
*
* @date 2012-08-26 16:37:50
*/
Attempting to install package with signature: emailresource-1.1.2-rc2
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
Attempting to preserve files at /is/htdocs/XXXX/notwww/modx/core/components/emailresource into archive /is/htdocs/XXXX/notwww/modx/core/packages/emailresource-1.1.2-rc2/modCategory/3baf46ca2198def1cd4ced4aca2e9adf.0.preserved.zip
Attempting to preserve files at /is/htdocs/XXXX/www/website/assets/components/emailresource into archive /is/htdocs/XXXX/notwww/modx/core/packages/emailresource-1.1.2-rc2/modCategory/3baf46ca2198def1cd4ced4aca2e9adf.1.preserved.zip
Running PHP Resolver.
Assigning Events to Plugin EmailResource
Error 23000 executing statement:
INSERT INTO `modx_site_plugin_events` (`pluginid`, `event`, `priority`, `propertyset`) VALUES (40, 'OnWebPagePrerender', 0, 0)
Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry '40-OnWebPagePrerender' for key 'PRIMARY'
)
Successfully assigned Events to Plugin EmailResource
Attempting to attach TVs to Templates
/* EOF */
Hi, I'm using emailresource-1.1.3-pl - I have created several resources / separate emails and only the resource with id = 1 will correctly preview/send an email. The other resources (all have identical settings to id=1) display a 404 when previewed > the url changes from /email (as in the case of resource id=1) to /email/path-to-resource (although all resources are in the same folder.
MODx version: 2.2.10-pl.
Thanks,
Alistair
Hi Bob, As far as I can see the email isn't sent as multipart, so if the recipient's email app doesn't process html, they just get raw html output. Is this correct?
Is there a way to send personalized emails?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.