Support

Home Forums Event Espresso Premium Mail not working with EE4 using Postmark, but working elsewhere in WP

Mail not working with EE4 using Postmark, but working elsewhere in WP

Posted: August 2, 2016 at 6:20 pm

Viewing 5 reply threads


SBI2

August 2, 2016 at 6:20 pm

Hello,

Event espresso is not sending any emails.

I have deactivated all plugins.

The emails are stuck in “queued for generating”.

When I generate the email and try and send, I get a blank page and no email gets sent.

I am using visual composer, but have turned off the plugin and still no emails get sent.

Test messages send fine within the Postmark plugin.

Any advice?

I am using WP 4.5.3 & php 5.6 on my own Ubuntu server.

Thank you!


SBI2

August 2, 2016 at 6:23 pm

Also, I have set to generate and send all on same request.

The messages are generating, but nothing is getting sent, and the activity says zero sent.

I am getting the standard error message sometimes when I try to “send immediately”.

thanks,

Jonny


Tony

  • Support Staff

August 3, 2016 at 3:26 am

When I generate the email and try and send, I get a blank page and no email gets sent.

If you enable WP_DEBUG on the site and retest this do you see an error message on the whitescreen?

I am getting the standard error message sometimes when I try to “send immediately”.

Can you post the error message you can see please.


SBI2

August 3, 2016 at 6:43 am

Here is the error:


Fatal error: Class 'DOMDocument' not found in /wp-content/plugins/event-espresso-core-reg/core/third_party_libs/cssinliner/vendor/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php on line 146
Call Stack
#	Time	Memory	Function	Location
1	0.0001	245120	{main}( )	.../admin.php:0
2	0.0001	245640	require_once( '/var/www/html/wp-load.php' )	.../admin.php:31
3	0.0003	259272	require_once( '/var/www/html/wp-config.php' )	.../wp-load.php:37
4	0.0004	261416	require_once( '/var/www/html/wp-settings.php' )	.../wp-config.php:82
5	0.1333	11944520	do_action( )	.../wp-settings.php:393
6	0.2133	13937552	call_user_func_array:{/var/www/html/wp-includes/plugin.php:525} ( )	.../plugin.php:525
7	0.2133	13937616	EE_System->initialize_last( )	.../plugin.php:525
8	0.2133	13937664	do_action( )	.../EE_System.core.php:831
9	0.2134	13939496	call_user_func_array:{/var/www/html/wp-includes/plugin.php:525} ( )	.../plugin.php:525
10	0.2134	13939664	EE_Admin->init( )	.../plugin.php:525
11	0.2135	13947512	EE_Registry->load_core( )	.../EE_Admin.core.php:191
12	0.2135	13949472	EE_Registry->_load( )	.../EE_Registry.core.php:335
13	0.2136	13961112	EE_Registry->_create_object( )	.../EE_Registry.core.php:651
14	0.2136	13961624	newInstanceArgs ( )	.../EE_Registry.core.php:848
15	0.2136	13961840	EE_Admin_Page_Loader->__construct( )	.../EE_Registry.core.php:848
16	0.2145	14000040	EE_Admin_Page_Loader->_get_installed_pages( )	.../EE_Admin_Page_Loader.core.php:120
17	0.2358	15123944	EE_Admin_Page_Init->do_initial_loads( )	.../EE_Admin_Page_Loader.core.php:342
18	0.2358	15124184	EE_Admin_Page_Init->_initialize_admin_page( )	.../EE_Admin_Page_Init.core.php:267
19	0.2416	16152432	newInstance ( )	.../EE_Admin_Page_Init.core.php:392
20	0.2416	16153024	Extend_Messages_Admin_Page->__construct( )	.../EE_Admin_Page_Init.core.php:392
21	0.2416	16153056	Messages_Admin_Page->__construct( )	.../Extend_Messages_Admin_Page.core.php:35
22	0.2438	16184392	EE_Admin_Page->__construct( )	.../Messages_Admin_Page.core.php:78
23	0.2449	16274144	EE_Admin_Page->_page_setup( )	.../EE_Admin_Page.core.php:195
24	0.2468	16332192	EE_Admin_Page->route_admin_request( )	.../EE_Admin_Page.core.php:570
25	0.2468	16332472	EE_Admin_Page->_route_admin_request( )	.../EE_Admin_Page.core.php:734
26	0.2473	16334104	call_user_func_array:{/var/www/html/wp-content/plugins/event-espresso-core-reg/core/admin/EE_Admin_Page.core.php:904} ( )	.../EE_Admin_Page.core.php:904
27	0.2473	16334336	Messages_Admin_Page->_send_now( )	.../EE_Admin_Page.core.php:904
28	0.2473	16334952	EED_Messages::send_now( )	.../Messages_Admin_Page.core.php:3535
29	0.2757	17728040	EE_Messages_Processor->batch_send_from_queue( )	.../EED_Messages.module.php:919
30	0.2789	17740496	EE_Messages_Queue->execute( )	.../EE_Messages_Processor.lib.php:218
31	0.2790	17741472	EE_Messages_Queue->_process_message( )	.../EE_Messages_Queue.lib.php:515
32	0.2790	17741936	EE_Messages_Queue->_do_send( )	.../EE_Messages_Queue.lib.php:561
33	0.2790	17742000	EE_messenger->send_message( )	.../EE_Messages_Queue.lib.php:626
34	0.3542	18636768	EE_Email_messenger->_send_message( )	.../EE_messenger.lib.php:624
35	0.3542	18637232	EE_Email_messenger->_body( )	.../EE_Email_messenger.class.php:355
36	0.3565	18691400	TijsVerkoyen\CssToInlineStyles\CssToInlineStyles->convert( )	.../EE_Email_messenger.class.php:502


Tony

  • Support Staff

August 3, 2016 at 6:54 am

Looks like the PHP DOM Module is not installed on your server.

We’ve seen this before here:

https://eventespresso.com/topic/ee-4-8-14-p-suddenly-not-functioning/

Can you contact your host and have them activate that module? Or you could install php-xml which include this module.

Which PHP version are you running?

You can find that within Event Espresso -> Maintenance -> System info


SBI2

August 3, 2016 at 8:34 am

Great. That fixed the issue.

I had to install php5.6-xml package and emails started sending.

Thanks!

Jonny

Viewing 5 reply threads

The support post ‘Mail not working with EE4 using Postmark, but working elsewhere in WP’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso