On Mon, Oct 20, 2014 6:02 PM CEST Chris “Kwpolska” Warrick wrote:
>On Mon, Oct 20, 2014 at 2:34 PM, Bo Morris wrote:
>> hello all, hope everyone is doing well.
>>
>> The below code works, however I am going back and trying to enter the time
>> and date and I cant qui
Just in case anyone else can benefit from this, here is my working code up
to this point
#!/usr/bin/python
import smtplib
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
from email.MIMEImage import MIMEImage
import time
strFrom = "HourlyReport.com"
strTo = "mye
Hey thanks for the help, it worked like a charm. I will post the complete code
soon, so others may benefit should they ever need it.
Thanks again.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.pyth
Forwarding to list — please use Reply All… next time.
On Mon, Oct 20, 2014 at 6:28 PM, Crush wrote:
> Where does the ."format(time=t,date=d)" go?
>
> I would assume something like
>
> msgTime = MIMEText()
> msgTime.add_header('not sure what to put here?' '' .format(time=t))
> msgRoot.attach(msgTi
On Mon, Oct 20, 2014 at 2:34 PM, Bo Morris wrote:
> hello all, hope everyone is doing well.
>
> The below code works, however I am going back and trying to enter the time
> and date and I cant quite figure out how to do this without breaking the
> code.
>
> #!/usr/bin/python
>
> import smtplib
> f
hello all, hope everyone is doing well.
The below code works, however I am going back and trying to enter the time
and date and I cant quite figure out how to do this without breaking the
code.
#!/usr/bin/python
import smtplib
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText imp