[Plone-IT] spedire mail da Plone

Fabrizio Rota fabrizio.rota a gmail.com
Mar 16 Lug 2013 14:38:58 UTC


Mi hanno finalmente aperto la 587: ora tutto OK.
Grazie del supporto e di tutte le dritte!


2013/7/16 Fabrizio Rota <fabrizio.rota a gmail.com>

> sono parametri da aggiungere alla riga della mail precedente?
>
>
> 2013/7/16 Yuri <yurj a alfa.it>
>
>> self.server = 'smtp.gmail.com'
>> self.port = 587
>>
>> controlla che sia aperto verso questo/questi (a uno stesso nome possono
>> corrispondere più ip in round robin solitamente) host e porta.
>>
>>
>>
>> Il 16/07/2013 16:03, Fabrizio Rota ha scritto:
>>
>>> Molto interessante!
>>> L'errore, alla fine, è lo stesso.
>>>
>>> Spero mi rispondano dall'hosting......
>>>
>>> [Errno 101] Network is unreachable
>>>
>>>
>>> 2013/7/16 Yuri <yurj a alfa.it <mailto:yurj a alfa.it>>
>>>
>>>
>>>     Il 16/07/2013 15:22, Fabrizio Rota ha scritto:
>>>
>>>         sono su server virtuale con la sola bash:
>>>         mi dai una dritta per provare da linea di comando?
>>>
>>>
>>>
>>>
>>>     https://pypi.python.org/pypi/**gmail/0.3.1<https://pypi.python.org/pypi/gmail/0.3.1>
>>>
>>>     easy_install gmail
>>>
>>>     e da linea di comando:
>>>
>>>     python -mgmail.cli -u myaccount a gmail.com
>>>     <mailto:myaccount a gmail.com> -p mypassword -t altramail a mail.com
>>>     <mailto:altramail a mail.com> -s prova -b "prova mail"
>>>
>>>
>>>     puoi anche omettere -p, te la chiede al momento
>>>
>>>     Ah, e conserva in gmail la mail in posta inviata. Ecco tutte le
>>>     opzioni del modulo:
>>>
>>>     parser = argparse.ArgumentParser(**description='Send email message
>>>     via GMail account')
>>>     parser.add_argument('--**username','-u',required=True,
>>>     help='GMail Username')
>>>     parser.add_argument('--**password','-p',default=None,
>>>     help='GMail Password')
>>>     parser.add_argument('--to','-**t',required=True,action='**
>>> append',default=[],
>>>     help='To (multiple allowed)')
>>>     parser.add_argument('--cc','-**c',action='append',default=[],
>>>     help='Cc (multiple allowed)')
>>>     parser.add_argument('--**subject','-s',required=True,
>>>     help='Subject')
>>>     parser.add_argument('--body','**-b',
>>>     help='Message Body (text)')
>>>     parser.add_argument('--html','**-l',default=None,
>>>     help='Message Body (html)')
>>>     parser.add_argument('--**attachment','-a',action='**
>>> append',default=[],
>>>     help='Attachment (multiple allowed)')
>>>     parser.add_argument('--debug',**'-d',action='store_true',**
>>> default=False,
>>>     help='Debug')
>>>
>>>
>>>         grazie
>>>
>>>
>>>         2013/7/16 Yuri <yurj a alfa.it <mailto:yurj a alfa.it>
>>>         <mailto:yurj a alfa.it <mailto:yurj a alfa.it>>>
>>>
>>>
>>>
>>>         Funziona da linea di comando, o con un client tipo Thunderbird?
>>>
>>>         Il 16/07/2013 14:54, Fabrizio Rota ha scritto:
>>>
>>>         Sto cercando di usare lo SMTP di google per spedire mail dal
>>>         mio nuovo sito Plone 4.3.1
>>>
>>>         Ho seguito questa guida:
>>>         http://opkode.com/media/blog/**using-the-gmail-smtp-server-**
>>> to-send-emails-from-plone<http://opkode.com/media/blog/using-the-gmail-smtp-server-to-send-emails-from-plone>
>>>
>>>         Ho chiesto al mio provider di aprire la porta 25 e 587.
>>>
>>>         Ma non riesco a spedire nulla:
>>>         Impossibile inviare la mail di test: [Errno 101] Network is
>>>         unreachable
>>>
>>>         aiutino?
>>>
>>>         -- Fabrizio
>>>         --------------------
>>>         Non inviato da IPhone
>>>
>>>         "Life is what happens to you while you're busy making other
>>>         plans" - J. Lennon
>>>
>>>         “If you think education is expensive, try ignorance” - D. Bok
>>>
>>>         Life is like a game of cards. The hand you are dealt is
>>>         determinism; the way you play it is free will - Jawaharlal Nehru
>>>
>>>
>>>         ______________________________**_________________
>>>         Plone-IT mailing list
>>>         Plone-IT a lists.plone.org <mailto:Plone-IT a lists.plone.**org<Plone-IT a lists.plone.org>
>>> >
>>>         <mailto:Plone-IT a lists.plone.**org <Plone-IT a lists.plone.org>
>>>
>>>         <mailto:Plone-IT a lists.plone.**org <Plone-IT a lists.plone.org>>>
>>>
>>>         https://lists.plone.org/**mailman/listinfo/plone-plone-**it<https://lists.plone.org/mailman/listinfo/plone-plone-it>
>>>         http://plone-regional-forums.**221720.n2.nabble.com/Plone-**
>>> Italy-f221721.html<http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html>
>>>
>>>
>>>         ______________________________**_________________
>>>         Plone-IT mailing list
>>>         Plone-IT a lists.plone.org <mailto:Plone-IT a lists.plone.**org<Plone-IT a lists.plone.org>
>>> >
>>>         <mailto:Plone-IT a lists.plone.**org <Plone-IT a lists.plone.org>
>>>
>>>         <mailto:Plone-IT a lists.plone.**org <Plone-IT a lists.plone.org>>>
>>>
>>>         https://lists.plone.org/**mailman/listinfo/plone-plone-**it<https://lists.plone.org/mailman/listinfo/plone-plone-it>
>>>         http://plone-regional-forums.**221720.n2.nabble.com/Plone-**
>>> Italy-f221721.html<http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html>
>>>
>>>
>>>
>>>
>>>         --         Fabrizio
>>>         --------------------
>>>         Non inviato da IPhone
>>>
>>>         "Life is what happens to you while you're busy making other
>>>         plans" - J. Lennon
>>>
>>>         “If you think education is expensive, try ignorance” - D. Bok
>>>
>>>         Life is like a game of cards. The hand you are dealt is
>>>         determinism; the way you play it is free will - Jawaharlal Nehru
>>>
>>>
>>>         ______________________________**_________________
>>>         Plone-IT mailing list
>>>         Plone-IT a lists.plone.org <mailto:Plone-IT a lists.plone.**org<Plone-IT a lists.plone.org>
>>> >
>>>         https://lists.plone.org/**mailman/listinfo/plone-plone-**it<https://lists.plone.org/mailman/listinfo/plone-plone-it>
>>>         http://plone-regional-forums.**221720.n2.nabble.com/Plone-**
>>> Italy-f221721.html<http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html>
>>>
>>>
>>>     ______________________________**_________________
>>>     Plone-IT mailing list
>>>     Plone-IT a lists.plone.org <mailto:Plone-IT a lists.plone.**org<Plone-IT a lists.plone.org>
>>> >
>>>     https://lists.plone.org/**mailman/listinfo/plone-plone-**it<https://lists.plone.org/mailman/listinfo/plone-plone-it>
>>>     http://plone-regional-forums.**221720.n2.nabble.com/Plone-**
>>> Italy-f221721.html<http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html>
>>>
>>>
>>>
>>>
>>> --
>>> Fabrizio
>>> --------------------
>>> Non inviato da IPhone
>>>
>>> "Life is what happens to you while you're busy making other plans" - J.
>>> Lennon
>>>
>>> “If you think education is expensive, try ignorance” - D. Bok
>>>
>>> Life is like a game of cards. The hand you are dealt is determinism; the
>>> way you play it is free will - Jawaharlal Nehru
>>>
>>>
>>> ______________________________**_________________
>>> Plone-IT mailing list
>>> Plone-IT a lists.plone.org
>>> https://lists.plone.org/**mailman/listinfo/plone-plone-**it<https://lists.plone.org/mailman/listinfo/plone-plone-it>
>>> http://plone-regional-forums.**221720.n2.nabble.com/Plone-**
>>> Italy-f221721.html<http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html>
>>>
>>
>> ______________________________**_________________
>> Plone-IT mailing list
>> Plone-IT a lists.plone.org
>> https://lists.plone.org/**mailman/listinfo/plone-plone-**it<https://lists.plone.org/mailman/listinfo/plone-plone-it>
>> http://plone-regional-forums.**221720.n2.nabble.com/Plone-**
>> Italy-f221721.html<http://plone-regional-forums.221720.n2.nabble.com/Plone-Italy-f221721.html>
>>
>
>
>
> --
> Fabrizio
> --------------------
> Non inviato da IPhone
>
> "Life is what happens to you while you're busy making other plans" - J.
> Lennon
>
> “If you think education is expensive, try ignorance” - D. Bok
>
> Life is like a game of cards. The hand you are dealt is determinism; the
> way you play it is free will - Jawaharlal Nehru
>



-- 
Fabrizio
--------------------
Non inviato da IPhone

"Life is what happens to you while you're busy making other plans" - J.
Lennon

“If you think education is expensive, try ignorance” - D. Bok

Life is like a game of cards. The hand you are dealt is determinism; the
way you play it is free will - Jawaharlal Nehru
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20130716/92944167/attachment-0001.html>


Maggiori informazioni sulla lista Plone-IT