Activity Stream
48,167 MEMBERS
6749 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1.     
    #11
    Member
    Quote Originally Posted by Gav0 View Post
    Cant you change the script to use smtp?

    something like add a function to the end of index.php

    Code: 
    function leechmail($email_completed, $name, $post) {
     $from = "AutoUploader";
     
     $host = "mail.example.com";
     $username = "smtp_username";
     $password = "smtp_password";
     
     $headers = array ('From' => $from,
       'To' => $email_complete,
       'Subject' => $name);
     $smtp = Mail::factory('smtp',
       array ('host' => $host,
         'auth' => true,
         'username' => $username,
         'password' => $password));
     
     $mail = $smtp->send($to, $headers, $post);
    }
    Code: 
    and change
                     mail($email_completed, $name, $post);
    to
                     leechmail($email_completed, $name, $post);
    I havent tested it though its from about.com

    not worked

  2.   Sponsored Links

  3.     
    #12
    Member
    search for PHPMailer

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Unable to connect to outgoing SMTP email server
    By Areon in forum Server Management
    Replies: 0
    Last Post: 26th Feb 2014, 11:39 AM
  2. Own SMTP Server... How?
    By chrsmrtn81 in forum Webmaster Discussion
    Replies: 2
    Last Post: 2nd Oct 2012, 08:38 AM
  3. How to Prevent the IIS SMTP Virtual Server from Relaying E-mail Messages
    By Albert.Nawaro in forum Tutorials and Guides
    Replies: 0
    Last Post: 9th Feb 2012, 10:54 AM
  4. Replies: 4
    Last Post: 1st Feb 2012, 01:19 AM
  5. SMTP Server
    By Algore in forum Server Management
    Replies: 4
    Last Post: 23rd Mar 2010, 03:56 PM

Tags for this Thread

BE SOCIAL