Jump to content

Deoctor

Members
  • Content Count

    663
  • Joined

  • Last visited

Everything posted by Deoctor

  1. dude just try this code. this will work u have to autenticate ur mail or else ur mail sever thinks that some one is useing it without a valid username and password. this is called as ssl in plain terms.. <?php require_once "Mail.php"; $from = "vk@xyz.com"; $to = "[email]yourmail@yaourdomain.com[/email]"; $subject = "Hi!"; $body = "<h1>Hi</h1>,\n\nHow are you?"; $host = "mail.example.com"; $username = "smtp_username"; $password = "smtp_password"; $headers = array ('From' => $from, 'To' => $to, 'Subject' => $subject); $smtp = Mail::factory('smtp', arra
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.