to send mails using smtp in php
Moderator: General Moderators
-
pradeepknv
- Forum Newbie
- Posts: 3
- Joined: Thu Jun 12, 2008 2:18 am
to send mails using smtp in php
i want to send mail from php script using smtp server.i set configurations in php.ini file. and i used the php mail() function to send mails.but i am getting error. can anyone please tell me how to send mails?
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Re: to send mails using smtp in php
What's the error? What's the code?
Re: to send mails using smtp in php
Use Swiftmailer.
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Re: to send mails using smtp in php
It's likely that your php.ini is misconfigured. Please post.