[Pywikipedia-l] No permission to send mail...
Merlijn van Deen
valhallasw at arctus.nl
Sun Jul 24 10:19:58 UTC 2011
Could you post the code you are using to send emails?
On 24 July 2011 11:22, Dr. Trigon <dr.trigon at surfeu.ch> wrote:
> Hello all!
>
> I am searching desperately for a solution to following problem.
> DrTrigonBot is written such that in case of an (not severe) error
> the bot should send an email with a notification to me. BUT the
> strange thing I do not understand is; userlib.py is not able to
> send emails about 50% of the tries...
>
> Some info can be found in (at the very end):
> http://toolserver.org/~drtrigon/DrTrigonBot/20110724.log
>
> The error raised is
> 'UserActionRefuse("You don't have permission to send mail",)'
>
> Does anyone have an idea how to solve this? In my view this is
> triggered by "if not self.site().isAllowed('sendemail'):" in
> "userlib.sendMail" but WHY is this 'sendemail' flags sometimes
> true and sometimes false...?!?
>
> Thanks a lot for your help and time
> Greetings to all!
> DrTrigon
>
> _______________________________________________
> Pywikipedia-l mailing list
> Pywikipedia-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/pywikipedia-l/attachments/20110724/5547fe9c/attachment.htm
More information about the Pywikipedia-l
mailing list