Hello guys, i am using swift to send an email using the Phalcon. But the problem i am facing is that the mail i am sending goes to the spam and the body is emply. Here is my code $this->getDI()->getMail()->send( array($app->email), 'Your tracking number is '.$app->tracking.' and provided full name is '.$app->firstname.' '.$app->lastname, 'confirmation', array( 'confirmUrl' => '/confirm/' . $app->tracking. '/' . $app->email ) );
Can anybody help now? Why the confirmurl does not appear on the email, only message 'Your trackin number....' appears as the subject of the email. Thank you in advance