Fixed a typo in the line that sets the 'from' header. There was a '.' missing to concatenate strings.