(mt) php email send
- Started
- Last post
- 4 Responses
- Fariska
Just starting to explore the mailsending via php... anyone knows about the smtp settings for mediatemple. I mean: mediatemple has its own smtp server to send mails or you should use your own server?
- cosmoo0
you can use the mail function within php to send mail.
or you can use pear, which gives more options with the mail:
http://pear.php.net/package/Mail…
- Fariska0
uhm... i'm using the mail function.
But my question is do i have to specify the smtp server on mediatemple's php.ini or does it came with an automagically specified smtp server, so i can use the function without worrying about that?
- stupidresponse0
the php.ini file should have the path to sendmail. when you use the mail function, you pass the smtp server name along with a username and password and auth type. with mediatemple your outgoing mailserver is mail.yourdomain.com. find an existing mail class, it will make your life easier.
- Fariska0
thanks :-)