Guest User

Untitled

a guest
Jul 19th, 2018
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. $this->SwiftMailer->smtpHost = 'smtp.margifineart.com';
  2. //$this->SwiftMailer->smtpPort = 587;
  3. $this->SwiftMailer->smtpUsername = 'inquiry@margifineart.com';
  4. $this->SwiftMailer->smtpPassword = 'dadadididudud0d0';
  5.  
  6. $this->SwiftMailer->sendAs = 'html';
  7. $this->SwiftMailer->from = 'inquiry@margifineart.com';
  8. $this->SwiftMailer->fromName = 'Margi Notice';
  9. $this->SwiftMailer->to = $email_destination;
  10.  
  11. $this->set('message', $this->params['form']['message']);
  12. $this->set('subject', $this->params['form']['subject']);
  13. $this->set('name', $this->params['form']['name']);
  14. $this->set('phone', $this->params['form']['phone']);
  15. $this->set('email', $this->params['form']['email']);
  16. $this->SwiftMailer->send('inquiry', $this->params['form']['subject']);
Add Comment
Please, Sign In to add comment