[uWSGI] another future

Łukasz Wróblewski admin at hostowisko.pl
Thu Nov 4 12:10:00 CET 2010


W dniu 04.11.2010 12:06, Roberto De Ioris pisze:
>
> Il giorno 04/nov/2010, alle ore 12.02, Łukasz Wróblewski ha scritto:
>
>> Often my scripts send e-mails. But I don't connect with SMTP
>> immediately. So that the web site you acted quickly and had the pleasure
>> of its use.
>> Sometimes there are various errors when connecting to the SMTP (often
>> distant).
>>
>> So writes the final e-mail as a file with the class
>> email.message.Message.as_string()in the selected directory.
>>
>> I have a script that checks the loop contents of the directory with the
>> set interval and sends e-mails through selected SMTP.
>>
>> Since: "uWSGI want to be a complete solution with process management,
>> long running task handling, rpc, cluster communication, load balancing,
>> monitoring,..."
>>
>> I thought that such a simple task could perform server UWSGI.
>> Just choose a directory and give the configuration of the need to
>> connect to the SMTP.
>
>
> This could be easily accomplished by the spooler.
>
> Simply run
>
> uwsgi.send_to_spooler( { 'email-body':email.message.Message.as_string(), 'email_to': email_dest} )
>
> http://projects.unbit.it/uwsgi/wiki/Spooler
>

THX
I'll check it ;)

-- 
Łukasz Wróblewski
www.nri.pl  - Nowoczesne Rozwiązania Internetowe
www.hostowisko.pl  - Profesjonalny i tani hosting
www.katalog-polskich-firm.pl  - Najlepszy darmowy katalog firm


More information about the uWSGI mailing list