Hi You know one of the parameters for sending mail using smtp method is "host" Is there such a parameter when we use "mail" method
You cannot specify the specific SMTP server using the mail() function in PHP, but there are packages you can use to get around this. See http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm for more details.
Thank you It was a very useful reply I noticed that "Mail.php" must be included to send mails using smtp and I think I will not be able to view "Mail.php" source code, right? Then how can I figure out what functions I should use to send html emails and attachments?
just use php mail() function , you don't need to set any smtp. almost paid hosting offer ther mail() function .