假设你需要向Tony道贺并表达祝贺之意,你可以按照以下模板书写一封电子邮件:

Subject: Congratulations on Winning the Professional Skills Competition

Dear Tony,

I am delighted to hear that you have won the professional skills competition. This is a well-deserved recognition of your hard work, dedication, and talent in your field.

As your friend, I feel proud to see you achieve such a great accomplishment. You have set an outstanding example for others to follow, and I am confident that your success will inspire many more achievements in the future.

Please accept my heartfelt congratulations on this significant achievement. I wish you continued success in all your future endeavors.

Best regards,

[Your Name]

更详细的回复

Dear Tony,

I am thrilled to hear that you have won a prize at the professional skills competition! Congratulations on this remarkable achievement!

Your hard work and dedication have paid off, and your success is well-deserved. I am proud to know someone as talented and capable as you, and I have no doubt that you will continue to excel in your career.

I would love to hear more about your experience at the competition and the skills you showcased. Perhaps we could meet up for coffee sometime soon and catch up?

Once again, congratulations on your well-deserved win! You have made us all proud.

Best regards,

[Your Name]

Example code:

import smtplib
from email.mime.text import MIMEText

sender_email = "your_email@example.com"
receiver_email = "tony@example.com"

message = """\
Subject: Congratulations on Your Prize!

Dear Tony,

I am thrilled to hear that you have won a prize at the professional skills competition! Congratulations on this remarkable achievement!

Your hard work and dedication have paid off, and your success is well-deserved. I am proud to know someone as talented and capable as you, and I have no doubt that you will continue to excel in your career.

I would love to hear more about your experience at the competition and the skills you showcased. Perhaps we could meet up for coffee sometime soon and catch up?

Once again, congratulations on your well-deserved win! You have made us all proud.

Best regards,

[Your Name]
"""

with smtplib.SMTP('smtp.gmail.com', 587) as smtp:
    smtp.starttls()
    smtp.login(sender_email, 'your_password')
    smtp.sendmail(sender_email, receiver_email, message)

print("Email sent!")