lional Posted June 19, 2006 Share Posted June 19, 2006 Hi AllI 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.iniAny help will be apprediatedThanksLional Link to comment https://forums.phpfreaks.com/topic/12376-php-mail-function/ Share on other sites More sharing options...
poirot Posted June 19, 2006 Share Posted June 19, 2006 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] Link to comment https://forums.phpfreaks.com/topic/12376-php-mail-function/#findComment-47305 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.