I do not want to use mail() to send e-mail. I would like to connect to the SMTP server directly.
mail()
Is there a class to do this job?
SwiftMailer does this.
http://swiftmailer.org/