Ya, did all the steps. Just didn't restart the server. I'll try that and
then I'll try again.
Is there a way to test the SMTP settings with out the application?
-----Original Message-----
From: devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org] On Behalf
Of Marius Dumitru Florea
Sent: Saturday, July 10, 2010 05:57 AM
To: devs(a)xwiki.org
Subject: Re: [xwiki-devs] Send Page by mail
On 07/09/2010 09:15 PM, Sales, G. (Grant) wrote:
#panelheader('Send this page by email')
#if($context.user == 'XWiki.XWikiGuest')
You need to be logged in to send a page by email.
#else
<form id="sendpage" name="sendpage"
action="../$doc.getSpace()/$doc.getName()?sendbyemail=1"
method="post">
RECIPIENT:<br />
<input size="18" type="text" name="recipient"
value="Enter an email
address" /> <div id="emailmore" class="hidden">
CC:<br />
<input size="18" type="text" name="cc"
value="" />
BCC:<br />
<input size="18" type="text" name="bcc"
value="" />
COMMENT:<br />
<textarea cols="18" rows="3" name="comment"
value=""></textarea>
<label><input style="width: 13px;"
name="includepagecomments"
type="checkbox" value="commentsyes" /> Include page
comments</label><br /> <label><input style="width: 13px;"
name="includepageattachments"
type="checkbox" value="attachmentsyes" /> Include page
attachments</label> <br /> </div><span id="more"
style="cursor:
pointer; text-decoration:
underline;" onclick="toggleClass($('emailmore'),
'hidden')">More</span> \\ <input type="submit"
value="Send page by
email"> </form>
#if($request.sendbyemail == 1)
#set($emailrecipient = "$request.recipient") #set($emailcc =
"$request.cc") #set($emailbcc = "$request.bcc") #set($emailcomment =
"$request.comment")
#if($emailcc != "")
#set($testcc = "$emailcc")
#else
#set($testcc = $xwiki.null)
#end
#if($emailbcc != "")
#set($testbcc = "$emailbcc")
#else
#set($testbcc = $xwiki.null)
#end
#set ($commentlist = $doc.getObjects('XWiki.XWikiComments'))
#set ($pagecomments = "
#foreach ($comment in $commentlist)
| Comment by $xwiki.getUserName($comment.author, false) :
$comment.comment
#end
")
Code isn't working.
I get this error.
The page has not been sent. There might be an error in the email
addresses you entered.
Is there some sort of thing that I need to configure
in xwiki to get
the mail sender working correctly? Or is there an error in the code?
I installed the mail sender plugin and mail sender pannel application.
Did you follow all the steps from
*
http://code.xwiki.org/xwiki/bin/view/Applications/SendPageByEmailApplica
tion
*
http://code.xwiki.org/xwiki/bin/view/Applications/SendPageByEmailApplica
tionDownloads
(notice the warning message)
*
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfi
guringtheSMTPserver
Isn't there any exception logged in the console / server log?
Hope this helps,
Marius
Thanks, Grant
Grant Sales
Security Operations Analyst
ING
111 Washington Ave South
Minneapolis, MN 55401
Tel: 612.342.7889
Fax: 612.342.3428
Cell: 320.761.0966
Email: grant.sales(a)us.ing.com
www.ing-usa.com
ING. Your future. Made easier. (r)
---------------------------------------------------------
NOTICE: The information contained in this electronic mail message is
confidential
and intended only for certain recipients. If you are not
an intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication and any
attachments is strictly prohibited. If you have received this
communication in error, please notify the sender by reply transmission
and delete the message without copying or disclosing it.
======================================================================
====================== _______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs