php mail() from godaddy server

前端 未结 3 758
悲&欢浪女
悲&欢浪女 2021-01-19 02:59

I\'m using godaddy for hosting my site and using default godaddy mail service. Now i want to sent email using php mail function to other email address from my 1 of my 15 em

3条回答
  •  迷失自我
    2021-01-19 03:40

    Instead of using the mail() function, which just calls the OS mail function (i.e. sendmail), try something like SwiftMail (free PHP mail library). It support many different ways of sending mail, including logging into a mail account and sending email, just like you would do from your own computer. You could even send email from a gmail account if you wanted.

    http://swiftmailer.org/

提交回复
热议问题