I have the function below :
    def fisap(self):
    print("*" * 42)
    print("Nrc", "Data".rjust(10), "Intrari".rjust(13), "Iesiri".rjust(12))
    print("*" * 42)
    for elem in self.ddop.keys():
        if elem in self.ddint.keys():
            print(str(elem), str(self.ddop[elem]).rjust(10), str(self.ddint[elem]).rjust(13))
        else:
            print(str(elem), str(self.ddop[elem]).rjust(10), str(0).rjust(13), str(self.ddies[elem]).rjust(12))
    print("*" * 42)
    print("Soldul final este de : " + str(self.sold))
It returns the following when called ( example ) :

It returns what it need to return, all good here, but my question is how i can store all this return text, in this format, in a variable, string or anything else to can send it by email using smtplib. If i try to send the email using the message body of : selfitem.fisap() it sends None .
Like this :
 
 
Any help is greatly appreciated.
