Not logged in. · Lost password · Register
Forum: Community dokuwiki.org RSS
Bureaucracy - empty email arrives - without field content
Completed form fields do not arrive in body of email
Avatar
bethany_sys #1
Member since Jan 2018 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Bureaucracy - empty email arrives - without field content
Hi there,
I'm running Greebo (Release 2018-04-22b "Greebo"). I have Bureaucracy plugin running with SMTP plugin. I complete a form, hit "Submit", an email arrive but it is empty - no content from the form. I also tried clean install of a wiki, repeated steps and same result - email arrives, no form content in email body.

Any help would be appreciated.
ps. this had previously worked.
This post was edited on 2019-10-07, 16:29 by bethany_sys.
Avatar
Fini #2
Member since Oct 2018 · 1 post
Group memberships: Members
Show profile · Link to this post
Hi,

i had the same issue with SMTP to Exchange 2016. Solution:
In line 88 of \lib\plugins\smtp\classes\Message.php
Add \r so the result will be
$body = join("\r\n", $lines);

See also https://github.com/splitbrain/dokuwiki-plugin-smtp/issues/17

Regards
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-10-16, 06:53:52 (UTC +02:00)