//encrytion should be set while using email library
$transport = (new Swift_SmtpTransport($smtp_server, $smtp_port))
->setUsername($smtp_username)
->setPassword($smtp_password)
->setEncryption('tls'); //important to set encryption here.
Code Example |
---|
Php :: php code for fetching data from database |
Php :: undefined variable inside function php |
Php :: session |
Php :: prestashop get product id |
Php :: push element in array php |
Php :: laravel model bind with route in model |
Php :: php api call with headers |
Php :: php query |
Php :: find string lenght in php |
Php :: how use variable in string in laravel |
Php :: random number php |
Php :: php in browser |
Php :: how to make a timer in php |
Php :: php simple server |
Php :: active class php |
Java :: import collectors java |
Java :: how to print hello world in java |
Java :: copy to clipboard java |
Java :: read text file java to string |
Java :: java pause |
Java :: install java apt |
Java :: javafx tableview remove all rows |
Java :: android coding how to open map |
Java :: spigot spawn entity |
Java :: How to implement a Trie data structures in Java? |
Java :: apk full form |
Java :: copy collection java |
Java :: how to get the time in java |
Java :: random number in range java |
Java :: android studio allow http |