Posts
Showing posts from 2016
send mail from local host without any smtp
- Get link
- X
- Other Apps
We cannot send mail from local host to any mail Servers without any help of smtp server: some intro: Various forms of one-to-one electronic messaging were used in the 1960s. Simple Mail Transfer Protocol ( SMTP ) is an Internet standard for electronic mail (email) transmission. SMTP communication between mail servers uses port 25. Mail clients on the other hand, often submit the outgoing emails to a mail server on port 587. Despite being deprecated, mail providers sometimes still permit the use of nonstandard port 465 for this purpose. Although proprietary systems (such as Microsoft Exchange and IBM Notes ) and webmail systems (such as Outlook.com , Gmail and Yahoo! Mail ) use their own non-standard protocols to access mail box accounts on their own mail servers, all use SMTP when sending or receiving email from outside their own systems. there are too m...
Send mail through Gmail
- Get link
- X
- Other Apps
https://blog.shaharia.com/send-email-from-localhost-in-cakephp-using-cakeemail/ public $gmail = array( 'host' => 'ssl://smtp.gmail.com', 'port' => 465, 'username' => 'syedfaizan966@gmail.com', 'password' => '*************', 'transport' => 'Smtp' ); for google link https://www.google.com/settings/security/lesssecureapps here is code [12:53:59 AM] Faizan Shah: extension=php_openssl.dll [12:54:16 AM] Faizan Shah: $name='usman'; $pass='123'; $confirmation_link = "http://" . $_SERVER['HTTP_HOST'] . $this->webroot . "users/login/"; $message = 'Hi,' . $name . ', Your Password is: ' . $pass; App::uses('CakeEmail', 'Network/Email'); $email = new CakeEmail('gmail'); ...
Social Login through Cakephp
- Get link
- X
- Other Apps
first link I used is http://miftyisbored.com/complete-social-login-application-tutorial-cakephp-2-3-twitter-facebook- google/ then for Google settings follow this link https://developers.google.com/identity/sign-in/web/devconsole-project then https://developers.google.com/identity/protocols/OpenIDConnect#setredirecturi and then it helps me https://developers.google.com/identity/protocols/OpenIDConnect#sendauthrequest some Help from here http://hybridauth.sourceforge.net/userguide/IDProvider_info_Google.html here is credentials Page for Google there was a space issue :D Social login from faceBook finding Errors found some solutions i think i should replace hybridauth php-graph-sdk-5.4.1 social/facebook finaly going to use hybried 2.7 version after that i found this error sported links http...