Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53768
| From | Ferrous Cranus <nikos@superhost.gr> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Cannot form correctly the FORM part of the header when sending mail |
| Date | 2013-09-06 09:44 +0300 |
| Organization | A noiseless patient Spider |
| Message-ID | <l0btkn$puc$1@dont-email.me> (permalink) |
| References | (12 earlier) <1af8193f-c6d0-4bcf-aa72-0f8f6f70c0c9@googlegroups.com> <l09ts2$oq0$1@dont-email.me> <72eb69f7-83b4-4dc4-8cea-a26c8081effb@googlegroups.com> <l0a1gh$djc$4@dont-email.me> <m2eh92r1wf.fsf@cochabamba.vanoostrum.org> |
Στις 6/9/2013 7:48 πμ, ο/η Piet van Oostrum έγραψε:
> hotmail.com. Register this as one of your email addresses in
> gmail. For this it must be a real email address that belongs to you,
> not a fake address. When it is registered with gmail, gmail will not
> change it if found in a From header.
Hello Piet,
I'am not sure what you mean by registering a mail address with GMail.
Do you mean to add more that one mail account addresses within my GMail
account?
If you mean that i must tell you that in the pop settinsg inside my
gmail.com account i use nikos@superhost.gr and nikos@ath.forthnet.gr as
other sending nad retrival mail accounts.
Is this what you mean?
> So the code becomes something like:
> MESSAGE = "From: \"{0}\" <nikos@hotmail.com>\r\n" "Reply-To: {0}\r\n" "To: {1}\r\n" "Subject: (From {0}) {2}\r\n\r\n{3}\r\n".format(FROM, TO, SUBJECT, MESSAGE)
If you mean the above then i just have tried, but still not mail gets send.
MESSAGE = "From: \"{0}\" <nikos@ath.forthnet.gr>\r\n" "Reply-To:
{0}\r\n" "To: {1}\r\n" "Subject: (From {0}) {2}\r\n\r\n{3}\r\n".format(
FROM, TO, SUBJECT, MESSAGE )
MESSAGE = MESSAGE.encode('utf-8')
# open Gmail's SMTP server
server = smtplib.SMTP('smtp.gmail.com:587')
server.ehlo()
server.starttls()
# next, log in to the server
server.login("my_personal@gmail.com", "my_password")
Please elaborate further, thank you.
--
Webhost <http://superhost.gr>
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-03 10:48 +0300
Re: Cannot form correctly the FORM part of the header when sending mail feedthetroll@gmx.de - 2013-09-03 02:33 -0700
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-03 13:44 +0300
Re: Cannot form correctly the FORM part of the header when sending mail Piet van Oostrum <piet@vanoostrum.org> - 2013-09-03 22:14 -0400
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-04 02:31 -0700
Re: Cannot form correctly the FORM part of the header when sending mail Piet van Oostrum <piet@vanoostrum.org> - 2013-09-04 12:16 -0400
Re: Cannot form correctly the FORM part of the header when sending mail Piet van Oostrum <piet@vanoostrum.org> - 2013-09-04 17:38 -0400
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-05 09:31 +0300
Re: Cannot form correctly the FORM part of the header when sending mail Steven D'Aprano <steve@pearwood.info> - 2013-09-05 08:58 +0000
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-05 12:34 +0300
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-05 12:36 +0300
Re: Cannot form correctly the FORM part of the header when sending mail Dave Angel <davea@davea.name> - 2013-09-05 10:33 +0000
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-05 13:48 +0300
Re: Cannot form correctly the FORM part of the header when sending mail feedthetroll@gmx.de - 2013-09-05 04:02 -0700
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-05 14:20 +0300
Re: Cannot form correctly the FORM part of the header when sending mail feedthetroll@gmx.de - 2013-09-05 05:18 -0700
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-05 15:36 +0300
Re: Cannot form correctly the FORM part of the header when sending mail feedthetroll@gmx.de - 2013-09-05 06:29 -0700
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-05 16:38 +0300
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-05 17:01 +0300
Re: Cannot form correctly the FORM part of the header when sending mail alex23 <wuwei23@gmail.com> - 2013-09-06 13:38 +1000
Re: Cannot form correctly the FORM part of the header when sending mail feedthetroll@gmx.de - 2013-09-05 08:00 -0700
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-05 18:59 +0300
Re: Cannot form correctly the FORM part of the header when sending mail feedthetroll@gmx.de - 2013-09-05 09:50 -0700
Re: Cannot form correctly the FORM part of the header when sending mail Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-05 17:50 +0000
Re: Cannot form correctly the FORM part of the header when sending mail Piet van Oostrum <piet@vanoostrum.org> - 2013-09-06 00:48 -0400
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-06 09:44 +0300
Re: Cannot form correctly the FORM part of the header when sending mail Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-05 17:28 +0000
Re: Cannot form correctly the FORM part of the header when sending mail Piet van Oostrum <piet@vanoostrum.org> - 2013-09-05 11:19 -0400
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-04 02:57 -0700
Re: Cannot form correctly the FORM part of the header when sending mail Dave Angel <davea@davea.name> - 2013-09-04 11:15 +0000
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-04 14:29 +0300
Re: Cannot form correctly the FORM part of the header when sending mail Dave Angel <davea@davea.name> - 2013-09-04 12:21 +0000
Re: Cannot form correctly the FORM part of the header when sending mail Piet van Oostrum <piet@vanoostrum.org> - 2013-09-04 12:22 -0400
Re: Cannot form correctly the FORM part of the header when sending mail Heiko Wundram <modelnine@modelnine.org> - 2013-09-04 14:18 +0200
Re: Cannot form correctly the FORM part of the header when sending mail Ferrous Cranus <nikos@superhost.gr> - 2013-09-04 17:29 +0300
Re: Cannot form correctly the FORM part of the header when sending mail Piet van Oostrum <piet@vanoostrum.org> - 2013-09-04 13:33 -0400
Re: Cannot form correctly the FORM part of the header when sending mail Piet van Oostrum <piet@vanoostrum.org> - 2013-09-04 12:06 -0400
How to exit a cgi file after a download Ferrous Cranus <nikos@superhost.gr> - 2013-09-04 12:49 -0400
How to exit a cgi file after a download. inq1ltd <inq1ltd@inqvista.com> - 2013-09-04 14:44 -0400
Re: How to exit a cgi file after a download. Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-04 15:42 -0400
Re: How to exit a cgi file after a download. alex23 <wuwei23@gmail.com> - 2013-09-05 09:56 +1000
Re: How to exit a cgi file after a download random832@fastmail.us - 2013-09-04 16:23 -0400
Re: How to exit a cgi file after a download Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-09-04 13:51 -0700
Re: How to exit a cgi file after a download inq1ltd <inq1ltd@inqvista.com> - 2013-09-05 12:33 -0400
csiph-web