0

i'm in trouble with sending email using swiftmailer on windows server. everything works fine on linux but email can not be send on windows server (page execute and no error message display). is there anything that has to be set up in php.ini here is my code:

.. require_once 'lib/swift_required.php';

$transport = Swift_SmtpTransport::newInstance();

$mailer = Swift_Mailer::newInstance($transport);

$message = Swift_Message::newInstance()

 ->setSubject('...')

  ->setFrom(array($fromm => '..')) 

  ->setTo(array($fromm, $mail))

  ->setBody(

...

thanks in advance

4

0 に答える 0