Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.tele2net.at!news.panservice.it!feed.xsnews.nl!border02.ams.xsnews.nl!feeder04.ams.xsnews.nl!abp002.ams.xsnews.nl!frontend-F10-19.ams.news.kpn.nl From: Cecil Westerhof Newsgroups: comp.lang.python Subject: Why from en to two times with sending email Organization: Decebal Computing X-Face: "(y8cC@tg_12{">GF'UXTW]FHI2wMiZNrnf'1EFQ&O#$m:f#O7+7}kR,v+Pti8=Vi/Z"g^?b"E X-Homepage: http://www.decebal.nl/ Date: Mon, 04 May 2015 20:59:33 +0200 Message-ID: <87ioc8i2y2.fsf@Equus.decebal.nl> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:TFX53VO7nNS7ffiwO1gRtG5zKys= MIME-Version: 1.0 Content-Type: text/plain Lines: 9 NNTP-Posting-Host: 81.207.62.244 X-Trace: 1430767728 news.kpn.nl 21099 81.207.62.244@kpn/81.207.62.244:52539 Xref: csiph.com comp.lang.python:89926 I want to change an old Bash script to Python. When I look at: https://docs.python.org/2/library/email-examples.html Then from and to have to be used two times? Why is that? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof