Search the Community
Showing results for tags 'mailhtml()'.
-
Hi everyone ... Generally, this is about the new mailHTML() function that does not work correctly on processwire 3.0.110 https://github.com/processwire/processwire/blob/dev/wire/core/WireMailTools.php#L291 https://processwire.com/api/ref/mail/mail-h-t-m-l/ I do not know if I'm making a mistake trying to send an e-mail or if it's a bug in the core This is my code: <?php // $m = $mail->new(); // option A // $m = new WireMail(); // option B $m = wireMail(); // option C $m->mailHTML('alex@gmail.com', 'Hello', '<html><body><h1>Message Body</h1></body></html>'); $m->send(); ?> Details from Tracy Debugger SERVER DETAILS ProcessWire: 3.0.110 PHP: 7.2.8 Webserver: Apache/2.4.34 (Unix) MySQL: 10.1.34-MariaDB SERVER SETTINGS allow_url_fopen: 1 max_execution_time: 120 (changeable) max_input_nesting_level: 64 max_input_time: 60 max_input_vars: 1000 memory_limit: 256M post_max_size: 8M upload_max_filesize: 20M xdebug: xdebug.max_nesting_level: mod_rewrite: 1 mod_security: *confirmed off GD: 2.2.5 GIF: 1 JPG: 1 PNG: 1 EXIF Support: FreeType: 1 Imagick Extension: MODULE DETAILS TracyDebugger: 4.11.13
- 2 replies
-
- wiremail()
- mailhtml()
-
(and 1 more)
Tagged with: