HF RL Explorer

Task: Implement a Python Email Sending Utility with Direct MX Lookup

Task: Implement a Python Email Sending Utility with Direct MX Lookup: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that can send an email directly to a recipient's mail server by performing a DNS MX lookup, without relying on an external SMTP relay or authentication. This…

The task

Write a Python script that can send an email **directly** to a recipient's mail server by performing a DNS MX lookup, without relying on an external SMTP relay or authentication. This simulates how mail transfer agents (MTAs) deliver mail between servers.

Part of PrimeIntellect/Terminal-Lego-15k.