A mail transfer agent or MTA is a software computer program which transfers electronic mail messages from one computer to another. The MTA works behind the scenes, while the user usually interacts with another program, the mail user agent, which contacts an MTA for actual delivery of the mail.