I am trying to send an email that includes the time. It seems that if the message field includes a colon the message field in the email will be blank.
If I do:
The following will show the correct text in the message field:
But if I use the following, no text will show in the message:
strftime(“%b %d %-I " + “/”+” %-M %p")
will have the message, Feb 11 8 / 48 PM
strftime(“%b %d %-I " + “:”+” %-M %p")
will have a blank message
The only difference being a “:” instead of “/”
Results of some more testing:
If the message is just, “some text” it will be received.
If the message is, “some text”+“:”
(That is a colon in the +“:”)
The received message field will be blank
If the message is, “some text+”;"
(That is a semicolon in the +“;”)
All the characters will be in the received message field
Now for the kicker. I am using the exact same code in another script and it works fine.