Untitled
def create_email_body(contact, template): body = template body = body.replace("{Name}", contact["Name"]) body = body.replace("{Industry}", contact["Industry"]) # Replace {Industry} body = body.replace("{Company}", contact["Company"]) # Replace {Company} return body
Leave a Comment