attachment = Mail.Attachment(filename)

"is not callable" usually means there is something in () that should not 
bet.

Reply via email to