phpmailer?

salukigirl

New Member
Messages
78
Reaction score
0
Points
0
I'm using this free script that uses phpmailer and I'm unsure what to do with these....

PHP:
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:
 

tittat

Active Member
Messages
2,478
Reaction score
1
Points
38
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:
Top