Hi I am trying to use phpmailer smtp for some webform but can't get it to work. I use the below script and didn't get any error message but the emails were never received. The whole website is encrypted with SSL. Is there anything addition needed? Any help will be appreciated. thx.

PHP Code:
                $mail = new PHPMailer();
$mail->SMTPAuth true;                              
$mail->Host 'mail.domain.com';                 
$mail->Port 25;                                    
$mail->Username 'smtp@domain.com';               
$mail->Password 'Password';   
$mail->SetFrom($email$firstname " " $lastname);
$mail->Subject  $subject;

$mail->WordWrap 50;