--
ArthurClemens - 05 May 2007
Thank you Arthur for sharing yet another useful plugin with the
TWikiCommunity!
I added the package form to the plugin topic. Could you fill out the details?
--
PeterThoeny - 16 May 2007
Unfortunately the plugin doesn't work for me. I have managed to get it enabled, but all I get when I fill out the form is to see the form again, no error and no success. When I enable debug I see:
| 21 May 2007 - 23:33 | _finishSendEmail errorStatus=2; errorMessage=
Any ideas?
--
PaulVlaar - 21 May 2007
errorStatus=2 means there is an error. The plugin uses
Net:SMTP, so check your configure settings under Mail and Proxies.
{SMTP}{SENDERHOST},
{SMTP}{Username} and
{SMTP}{Password} need to be set.
--
ArthurClemens - 22 May 2007
I found the plugin easy to install and easy to use. However as the default sender is
%WIKIWEBMASTER% doesn't this make the plugin open to abuse. It appears that one can configure the sender to be anybody.
Would it therefore be possible to define the sender as the current authenticated user?
--
PeterJones - 10 Jul 2007
Would it matter if the sender had a different
from address? The e-mail would get sent anyway.
--
ArthurClemens - 10 Jul 2007
I'm thinking of my own case as I am our site's
WIKIWEBMASTER. If users can send emails with me as the sender then I may receive replies from emails that I never sent.
--
PeterJones - 11 Jul 2007
Has anyone back-ported this to use Cairo?
--
MartyRoss - 18 Jul 2007
I've installed the
SendEmailPlugin OK. It works, sends messages correctly BUT I can't seem to get any feedback from the %SENDEMAIL% tag. I placed a debug line into the _handleSendEmailTag function to check that it gets called and it seems it doesn't. I've tried %SENDEMAIL% as per the plugin example and on a separate page called by the form 'action' attribute. Any Ideas?
--
ColinFee - 28 Aug 2007
Works great. One question: Is there a way to send HTML email with the plugin? Plain text is fine, but I want to jazz it up a little bit.
Any ideas?
--
JoeAbrams - 15 Oct 2007
Nice idea. It won't work out of the box I think (but I haven't tried it). There is a CPAN module, Mime.Lite
that could to the trick. I will have a look to see what we can lend from it. Michael Daum has kindly updated the plugin to support HTML mails.
--
ArthurClemens - 15 Oct 2007
Thanks. Basically, we just want to make the sent emails a little more interactive. I guess you can't do that with TEXTAREA. By the way, sorry for the triple post above.
--
JoeAbrams - 15 Oct 2007
i got these msg ... can anyone help me out
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator,
admin@yourhostPLEASENOSPAM.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--
BidyotDas - 14 Nov 2007
Look what the Apache server error_log contains. It might be better to ask a support question in the
Support web.
--
PeterThoeny - 20 Nov 2007
A useful enhancement (I think) would be to send along any additional form fields with the email message. (I want to be able, for example, to use this like
CommentPugin - creating more interesting forms, with results sent by email instead of pasted into a TWiki topic.
--
VickiBrown - 15 Jan 2008
Great plugin! I second the request to be able to send additional form fields along with the email message.
--
CoryBenjamin - 04 Feb 2008
Hi everey one!!! =)
my name is marcello from brazil and i have sugest for this plugin.... and i'm not developer on PERL. So my sugest: put on after line 163 "Content-type: text/html", so you ask why that, because when i try send html text apear on email just html code, when i put that line after CC: %CC% i can send body email with text and html format! =) Sorry about english!!!
thats all!
--
MarcelloBontempoSalgueiro - 05 Mar 2008
That looks easy enough. I will have a look at it.
--
ArthurClemens - 05 Mar 2008
Could this plugin be tweaked a bit to allow for administrators to
EmailAllTWikiUsers ?
--
KeithHelfrich - 08 Mar 2008
This plugin does not allow to restrict FROM, TO and CC in any way, that is anybody with access to
bin/sendmail can use it as an open relay. How about adding preference variables
(ALLOW|DENY)MAIL(FROM|CC|TO) and
only proceed if the urlparams to
bin/sendmail match these requirements.
Btw, what are the modification policies of this plugin: feel free to modify or contact author first?
--
MichaelDaum - 04 Apr 2008
Good suggestion.
I have updated the info: feel free to modify.
--
ArthurClemens - 04 Apr 2008
Done. See
Bugs:Item5732
--
MichaelDaum - 24 Jun 2008
After installation I'm getting this error message:Can't call method "getPreferencesValue" on an undefined value.
Here is a snippet from the Twiki log file: Can't call method "getPreferencesValue" on an undefined value at /opt/app/opend/twiki/lib/TWiki/Func.pm line 392.
TWiki::Func::getPreferencesValue('SENDEMAILPLUGIN_DEBUG') called .
When checking the variables for the Plugin Set SENDEMAILPLUGIN_DEBUG 0
appears among them. What could be wrong here?
--
LarsJenkner - 30 Jul 2008
Could this plugin be enhanced to provide
- an add attachment feature? (would make mail clients -- redundant)
- a send topic content feature? (for externals with no access to the wiki)
- ... add your ideas here
--
FranzJosefGigler - 22 Sep 2008
A useful enhancement (I think) would be to send along any additional form fields with the email message. (Vicky) I have added an example to the plugin topic to illustrate how to.
--
ArthurClemens - 14 Oct 2008
When I use this plugin in conjunction with the
FormPlugin, if I try to send too many comments, my browser crashes. I have a suspicion that it's because the URL gets too long because the form results are being posted in the URL:
http://wiki.megasys.net/bin/view.pl/FinanceSystemDocs/ManualSurvey?FP_submit=mailForm;To=wiki%40megasys-inc.com;Subject=ManualSurvey%20Feedback%20Survey;Screenshots=1;FP_validate_Screenshots=Screenshots%3Ds%3Dm;Explanations=3;FP_validate_Explanations=Explanations%3Ds%3Dm;Found_It=2;FP_validate_Found_It=Found_It%3Ds%3Dm;Overall=2;FP_validate_Overall=Overall%3Ds%3Dm;Comments=1234567890;Name=;Email=;Company=;body=Screenshots%3A%201%0D%0AExplanations%3A%203%0D%0AOverall%3A%202%0D%0AFound%20It%3A%202%0D%0AComments%3A%20document.mailForm.Comments.value%0D%0AName%3A%20%0D%0AE-mail%3A%20%0D%0ACompany%3A%20%0D%0ACompleted%20By%3A%20JamieBenjamin;SendEmailErrorStatus=1;SendEmailErrorMessage=
However, this shouldn't happen if method=POST. Is there a method=GET somewhere in the plugin code that is causing it to put the form fields in the URL? Please advise.
--
JamieBenjamin - 17 Oct 2008
Hm, is it just me (my local setup), or does this plugin really not appear in the
FindMoreExtensions list provided by
configure? And if, why may this be so?
--
FranzJosefGigler - 20 Oct 2008
Hi, I have a question about sending HTML emails.
Based on the instruction, I created a twiki template called
EmailTestTemplate with the following contents:
"From: %FROM%
To: %TO%
CC: %CC%
Content-type: text/html
Subject: %SUBJECT%
%BODY%
"
Then in the send email form, I added the following line:
"<input type="hidden" id="template" name="template" value="EmailTest">"
Now emails can be sent in HTML format. However, after sending the email, the webpage will be redirected to the
EmailTestTemplate. If I use the 'redirectto' parameter to redirect back to my original topic, the whole thing will be in a infinite loop.
Is there a way to prevent redirect to the email template after the email got sent out?
Thanks.
--
BingHuang - 2009-05-29
When I try to send a mail I see:
"Not Found
The requested URL /bin/sendemail/Sandbox/TestTopic3 was not found on this server."
But this is not Eror 404, because when I point browser to
https://twiki.domain.com/bin/sendemailSALT
I see:
"Not Found
The requested URL /bin/sendemailSALT was not found on this server.
Apache/2.2.14 (Ubuntu) Server at twiki.ektos.net Port 443"
Plug-in test successful.
Apache error.log doesn't contain any message regarding this. So I think this is a Twiki message. How to fix this error?
--
MaximStrukov - 2011-04-29
/bin/sendemailSALT is an indication that your send mail form action is missing a slash after sendemail. Make sure to specify
action="%SCRIPTURL{sendemail}%/%WEB%/%TOPIC%". Also, please ask support questions in the
Support forum.
--
PeterThoeny - 2011-04-29
After installing mod_perl (at the system and at the web server), adding the mod_perl_startup.pl file at the twiki tools directory and enable it using twiki configure script; then installing
SendEmailPlugin and configure the settings ({SMTP}{MAILHOST}, {SMTP}{SENDERHOST}, {SMTP}{Username} and {SMTP}{Password} under Mail and Proxies section, and {Plugins}{SendEmailPlugin}{Permissions}{Allow}{MailTo} and {Plugins}{SendEmailPlugin}{Permissions}{Allow}{MailCc} at the
SendEmailPlugin section), no sendemail test worked.
All of them give as a result after pushing the send button this on the browser:
Software error: Can't call method "run" on an undefined value at /path_to_twiki/bin/sendemail line 37.
at /path_to_twiki/bin/sendemail line 38
Watching web server (apache), I see that this error generates three lines on error log file like these:
sendemail: Name "TWiki::Engine" used only once: possible typo at /path_to_twiki/bin/sendemail line 37., referer:
https://myserver/Twiki/bin/view/Main/MyTestForm
sendemail: Can't call method "run" on an undefined value at /path_to_twiki/bin/sendemail line 37., referer:
https://my_server/Twiki/bin/view/Main/MyTestForm
sendemail: at /path_to_twiki/bin/sendemail line 37, referer:
https://my_server/Twiki/bin/view/Main/MyTestForm
Line 37 at sendemail binary is last one, the one with the call $TWiki::engine->run();
I saw no question similar to this on the
ExistingQuestions. What can I do/try?
--
Dani Molina - 2014-09-23
Dani: Not sure. Does it behave differently if you disable mod_perl? Did you check the existing
Support.SendEmailPlugin questions? Best to open a new
Support question to track this.
--
Peter Thoeny - 2014-09-24
Peter: No, The same applied before installing and enabling mod_perl.
I'm gonna write Support question, I didn't knew it. Thank you very much,
--
Dani Molina - 2014-09-25