Results 1 to 1 of 1

Thread: Sending emails via STMP method!

  1. #1
    Join Date
    May 2005
    Location
    China & France
    Posts
    6,492

    Default Sending emails via STMP method!

    By default, we are using the email() function of PHP to send emails. But on some shared servers, this is not supported, providing another method - SMTP to send emails.

    Here is the mod to utilize SMTP for emailing.

    1. Upload the attachment to update corresponding files in /includes/.

    2. Then you need edit template.php to change your SMTP setting, line 172-176:

    PHP Code:
                /** Begin SMTP setting */
                
    $mail->Host "<your smtp host>";
                
    $mail->Username "<your email on this host>";
                
    $mail->Password "<yourpassword>";
                
    /** End SMTP setting */ 
    a). Replace <your smtp host> with a valid hosted domain name.
    b). Replace <your email on this host> with a valid hosted email account.
    c). Replace <yourpassword> with the password for the email account used above.

    SMTPmod.zip (21.1 KB)
    Last edited by yabsoft; 06-05-2008 at 05:00 PM.

Similar Threads

  1. email problem
    By Rizzler in forum Troubleshooting And Problems
    Replies: 18
    Last Post: 05-02-2008, 05:39 AM
  2. Sending Emails to all the members on the Site.
    By sales@xisto.com in forum Troubleshooting And Problems
    Replies: 2
    Last Post: 06-27-2007, 08:16 PM
  3. Emails not sending
    By dooby in forum MFHS v1.1
    Replies: 7
    Last Post: 01-01-2007, 09:34 AM
  4. Replies: 2
    Last Post: 10-14-2006, 04:13 AM
  5. Method Not Implemented Error
    By Dellow in forum MFHS v1.1
    Replies: 1
    Last Post: 05-12-2006, 08:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •