Hi.
The velocity mailsender code works now for

host: smtp.gmail.com
port: 587
user: [email protected]
password: ***
javaMail props: mail.smtp.starttls.enable=true

But the watchlist notifications still aren't being sent to my mailbox...
I even tried triggering the scheduler manually - still no mail in my
mailbox.
I also tried it on the xwiki.org site - i've added the sandbox to my
watchlist:
http://playground.xwiki.org/xwiki/bin/view/Sandbox/
and set hourly mail reports on the watchlist management page, and even
played with the sandbox a bit, but still no e-mail in my mailbox.


kuchumovn wrote:
> 
> Thanks! I'll try it out next weekend and write the result here.
> *btw, I use 2.0 RC 3, not the final 2.0
> 
> 
> Jean-Vincent Drean-3 wrote:
>> 
>> Hi,
>> 
>> On Sat, Oct 10, 2009 at 7:12 PM, kuchumovn <[email protected]> wrote:
>>>
>>> Hello.
>>> I'm using XWiki Enterprise 2.0.
>>> Today I'm trying to get the Watchlist notification work.
>>> I've set these settings:
>>>
>>> host: smtp.gmail.com
>>> port: 465
>>> user: [email protected]
>>> password: ***
>>> javaMail props: mail.smtp.starttls.enable=true
>>>
>>> Am I right?
>> 
>> The simplest way to check if the SMTP configuration is working is to
>> use the following snippet in a wiki page (xwiki/2.0):
>> 
>> ----------------------8<----------------------
>> {{velocity}}
>> $xwiki.mailsender.sendTextMessage("[email protected]", "[email protected]",
>> "Subject", "Content")
>> {{/velocity}}
>> ----------------------8<----------------------
>> 
>>> Now I go to the Sandbox and watch the "Training Zone" page.
>>> Then I go to my Watchlist management and set e-mail notification
>>> frequency
>>> to "1" (i have no idea what does this mean, there are only these values:
>>> "0", "1", "2", "3", "4", "Scheduler.WatchListDailyNotifier",
>>> "Scheduler.WatchListHourlyNotifier",
>>> "Scheduler.WatchListWeeklyNotifier").
>>> Then I log in as another user and play with the Sandbox.
>> 
>> That's the problem, between 1.9 and 2.0 we've modified the way
>> watchlist jobs are handled.
>> The numbers in the list are leftovers of the way it was handled
>> before, I'm afraid you'll have to delete some pages manually, namely:
>>  - Scheduler.WatchListJob1
>>  - Scheduler.WatchListJob2
>>  - Scheduler.WatchListJob3
>>  - Scheduler.WatchListJob4
>> 
>> The correct values are "Scheduler.WatchListDailyNotifier",
>> "Scheduler.WatchListHourlyNotifier" or
>> "Scheduler.WatchListWeeklyNotifier".
>> We're working on improving the watchlist management UI (XE 2.1).
>> 
>>>
>>> And then wait for the notification e-mail.
>>> But nothing is being sent to me...
>>>
>>> No errors on "mail" or "smtp" in the log either..
>>>
>> 
>> JV.
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
>> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/How-to-check-that-SMTP-mailing-is-working-correctly-tp3800490p3845247.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to