Jump to content


PHP Mail function

  • Please log in to reply
1 reply to this topic

#1 lional

  • Members
  • PipPipPip
  • Advanced Member
  • 266 posts

Posted 19 June 2006 - 01:25 PM

Hi All
I need to write something and I would like to know if it is possible to set the smtp server settings in the script itself rather than the php.ini

Any help will be apprediated



#2 poirot

  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 19 June 2006 - 01:47 PM

I believe you can use ini_set to change SMTP and smtp_port, but if that doesn't work you can use the imap functions, code something, or a ready-made script like Swift or PHP-Mailer

[a href=\"http://phpmailer.sourceforge.net/\" target=\"_blank\"]http://phpmailer.sourceforge.net/[/a]
[a href=\"http://www.swiftmailer.org/\" target=\"_blank\"]http://www.swiftmailer.org/[/a]
~ D Kuang

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users