+ Reply to Thread
Results 1 to 4 of 4

Thread: phpmailer?

  1. #1
    salukigirl is offline x10Hosting Member salukigirl is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    78

    phpmailer?

    I'm using this free script that uses phpmailer and I'm unsure what to do with these....

    PHP Code:
    define "USE_SMTP""TRUE" );                // - do you want to use SMTP to send out emails? TRUE or FALSE ( mail() will be used )
    define "SMTP_PORT""" );                // - what port should we use for smtp ( only needed if SMTP is set to TRUE )
    define "SMTP_HOST""" );        // - what host should we use for smtp ( only needed if SMTP is set to TRUE )
    define "SMTP_USER""" );        // - what user should we use for smtp ( only needed if SMTP is set to TRUE )
    define "SMTP_PASS""" );        // - what password should we use for smtp (only needed if SMTP is set to TRUE)
    define "MAIL_IS_HTML""FALSE" );            // - send emails as html or text? ( TRUE for html and FALSE for text ) 
    For the SMTP port and all that stuff what do I put between the ""'

    :happysad:

  2. #2
    Nikolasr is offline x10 Elder Nikolasr is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Macedonia -> Strumica
    Posts
    614

    Re: phpmailer?

    smtp port is 25 try this or 465 i think so
    Link removed by x10hosting staff

  3. #3
    tittat's Avatar
    tittat is offline x10 Spammer tittat is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Kerala,India
    Posts
    2,479

    Re: phpmailer?

    define ( "USE_SMTP", "TRUE" );
    change TRUE to FALSE.By doing so you can use the php mail function (mail() )will be used.And all the setting can be ignored.This is the easiest way.And it will look as


    define ( "USE_SMTP", "FALSE" ); // - do you want to use SMTP to send out emails? TRUE or FALSE ( mail() will be used )
    define ( "SMTP_PORT", "" ); // - what port should we use for smtp ( only needed if SMTP is set to TRUE )
    define ( "SMTP_HOST", "" ); // - what host should we use for smtp ( only needed if SMTP is set to TRUE )
    define ( "SMTP_USER", "" ); // - what user should we use for smtp ( only needed if SMTP is set to TRUE )
    define ( "SMTP_PASS", "" ); // - what password should we use for smtp (only needed if SMTP is set to TRUE)
    define ( "MAIL_IS_HTML", "FALSE" ); // - send emails as html or text? ( TRUE for html and FALSE for text )















    Or if you are sure you want to use SMTP setting the code will be




    define ( "USE_SMTP", "TRUE" ); // - do you want to use SMTP to send out emails? TRUE or FALSE ( mail() will be used )
    define ( "SMTP_PORT", "25" ); // - what port should we use for smtp ( only needed if SMTP is set to TRUE )
    define ( "SMTP_HOST", "mail.your_domain" ); // - what host should we use for smtp ( only needed if SMTP is set to TRUE )
    define ( "SMTP_USER", "username+your_domain" ); // - what user should we use for smtp ( only needed if SMTP is set to TRUE )
    define ( "SMTP_PASS", "***Pasword_here***" ); // - what password should we use for smtp (only needed if SMTP is set to TRUE)
    define ( "MAIL_IS_HTML", "FALSE" ); // - send emails as html or text? ( TRUE for html and FALSE for text )

    Letters marked in red need to replace appropriately.

    For more details go to cpanel>>Email Accounts>>configure mail client>>Manual Settings
    Last edited by tittat; 04-01-2008 at 04:58 AM.
    PLAY ONLINE GAMES
    WWW.TMONDO.COM PlayFar Flash Games
    Former X10 Forum Senior Moderator(Retired)


  4. #4
    salukigirl is offline x10Hosting Member salukigirl is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    78

    Re: phpmailer?

    oooooooohhhhhhhhhhh. ok I see now. Thanks! =D

+ Reply to Thread

Similar Threads

  1. help on phpmailer
    By lohmeyer in forum Programming Help
    Replies: 5
    Last Post: 01-15-2008, 08:49 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
x10hosting free hosting for the masses
dedicated servers