Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[TT/v2.07+] Mail with SMTP.
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / General / Tutorials

Unknown User
2011-11-08 23:16:21
In TorrentTrader 2.07 a Mail class was implemented to give users the option to use SMTP to set this up with something like g-mail open your backend/config.php and make sure you do the following:

$site_config["mail_type"] = "pear";

$site_config["mail_smtp_host"] = "smtp.gmail.com"; // SMTP server hostname

$site_config["mail_smtp_port"] = "465"; // SMTP server port

$site_config["mail_smtp_ssl"]  = true; // true to use SSL

$site_config["mail_smtp_auth"] = true; // true to use auth for SMTP

$site_config["mail_smtp_user"] = ""; // SMTP username

$site_config["mail_smtp_pass"] = ""; // SMTP password


$site_config["mail_smtp_user"]  - This is the email you signed up at gmail.

$site_config["mail_smtp_pass"]  - This is the password you chose at gmail.
Unknown User
2012-04-10 08:42:39
I Understand that Pear Mail may not be on servers by default... im unsure of the instructions on how to set it up on other distro's however for Centos then this should work from ssh.



yum install php-pear -y




pear install Mail




pear install Net_SMTP

Unknown User
2012-04-10 16:48:10
debian and its clones is



apt-get install php-pear -y

then




pear install --alldeps Mail

pear install --alldeps Net_SMTP



-alldeps flag is cool, it should get any missing things if needed.
Unknown User
2014-05-13 16:36:42
I got this page in an email from 1 of my hosts..

[url="http://leasewebnoc.com/en/networkstatus/leaseweb-ip-range-blacklisted-by-uceprotect"]http://leasewebnoc.com/en/networkstatus/leaseweb-ip-range-blacklisted-by-uceprotect[/url]

Just another reason to use smtp for emails :)
Unknown User
2014-07-31 19:30:48
If using windows server like myself you will have to get the pear package.

Download!!

[url="http://pear.php.net/go-pear.phar"]http://pear.php.net/go-pear.phar[/url]

save it as: go-pear.phar

and put it in your php folder.

double click the file it should open cmd command line hit enter then enter again if you get any errors you must un-comment this line in you php.ini file by removing ; then make sure it says off.

;phar.require_hash = on

change to:  phar.require_hash = off

click save

to check and make sure pear is working...in cmd type: pear    .....it should run and bring you back to a command line.

sweet so far so good !!!

go to php folder you should see a file that has the name: Pear_ENV.reg double click it to add to the registry then click yes next.

now you will need to install

mail, smtp, mime,

open cmd again change your directory to where ever you have saved your php folder by doing this: cd C:Program Files (x86) ...you get the idea  :)

once in the directory type: pear install Mail .....it should do its thing  :)  then show it was installed yes this is ran like linux from command line but instead of using sudo command just use pear.

once mail is installed now install SMTP so in cmd type: pear install Net_SMTP  :)  it should also show installed.

And last we need to install Mime.

At command line type: pear install Mail_Mime  :)  great all done.

check your config.php and make sure your settings are correct and you should be good to go  ;)
2014-12-17 22:52:35
what about freeBSD server
2019-03-16 02:30:12
Tested on ubuntu 18.04 and php 7.2. Still works in case anyone needed to know.
sudo apt install php-pear
sudo pear install mail
sudo pear install Net_SMTP

TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2025-02-28 00:00:31
https://dashboard.serversmtp.com

best smtp free service
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728