Laravel Mail with Gmail and Mailtrap

youremail@gmail.com:

UNLOCK lINKS

https://myaccount.google.com/security

https://myaccount.google.com/lesssecureapps

https://accounts.google.com/b/0/DisplayUnlockCaptcha

ERROR solution: https://stackoverflow.com/questions/33939393/failed-to-authenticate-on-smtp-server-error-using-gmail

FOR LOCAL DEVELOPMENT: MAiltrap:

https://medium.com/@christianjombo/setting-up-mailtrap-for-laravel-development-313133bb800c

https://mailtrap.io/inboxes/614146/messages

Laravel, Gmail sending

https://stackoverflow.com/questions/27721120/laravel-connection-could-not-be-established-with-host-smtp-gmail-com-0

In Laravel project directory, edit config/mail.php and add the following:

‘stream’ => [
‘ssl’ => [
‘allow_self_signed’ => true,
‘verify_peer’ => false,
‘verify_peer_name’ => false,
],
]
It worked for me.

Fyi, my SMTP settings are:

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=[Full Gmail Address]
MAIL_PASSWORD=[Google App Password obtained after two step verification on Google Account Page]
MAIL_ENCRYPTION=ssl

FREE PHP Jobs – Free Demo PHP Laravel VueJs site With FREE Source Code

,

DEMO site link: https://blogbook.hu/laravel_workportal/public/

Free Source code: https://bitbucket.org/webeswork/laravel_vue_workportal/src/master/

Test Job seeker login:
e-mail: xyuser2test@gmail.com
password: 12345678

Test Employer login:
e-mail: xyeditor2test@gmail.com
password: 12345678

Overview
PHP Laravel 5.8 PHP Laravel Jobs Site

PHP Laravel Jobs Site allows job seekers and recruiters to connect.
The application provides the facility for job seekers to create their account, upload their profile and resume, search for jobs, apply for jobs, view different jobs opening with closing dates.
The application facilitates the employers to create their accounts, search candidates, create job postings and track contacted candidates.

The employers can create jobs
The employers can fill out their page.
They can upload logo, cover photo
The program resizes the images.

The applicants can apply for the jobs.
The employers can fill out their profile page.
They can upload profile picture, resume, cover letter.

Job Seekers
Job seeker can manage his account.
Job seeker can search the latest jobs.
Job seeker can see the whole job details.
Job seeker can apply for multiple jobs according to his needs.
Job seeker can update his profile.
Job seeker can upload his latest resume.

Employer/ Company
Employer can Post new job.
Employer can edit/delete and manage the jobs that he posted
Employer can see the list of candidates who have applied for specific job
Employer can see and download the resume of job seeker
Employer can search the job seekers.

Developer artisan commands is in the doc folder.

*******************************************
Setting, Install:

//Edit protected .env in the root folder
//MYSQL SETTING:
// Edit the datas with your access data of your hosting or local server

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel_workportal
DB_USERNAME=root
DB_PASSWORD=root

//Mail setting | Gmail

1.Create a gmail account.
2. https://myaccount.google.com/security
Go to the “Less Secure App Access”
Open the link > Allow less secure apps: ON !!

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=[Your Gmail Address (ex.:youremail@gmail.com) ]
MAIL_PASSWORD=[Your Gmail Password]
MAIL_ENCRYPTION=ssl

//////////////////

//The SQL file is in the SQL folder
The best Tool is the PHPMyAdmin.
Import the SQL files of the program from the sql folder.

////////////////////////
//Image AND File upload setting:
//.env
//You can edit the file size If you want it.

#max file size in KB : 10MB
FILE_SIZE = 10000

#max image size in KB : 10MB
IMAGE_SIZE = 10000

//////////////
VueJs edit:

First Check the NPM is existing.
npm –v

If npm is missing You can download and install here:

https://nodejs.org/en/

If you want to change the Vuejs Component:
You can edit these VueJs components.

\resources\js\components\

After edit Please Run NPM:

npm install

npm run dev

//////////////

Sending mail with Laravel

,

Postfix

If you use Postfix on your server you have to change  config > mail.php

// ‘driver’ => ‘smtp’,
‘driver’ => ‘sendmail’,

Install Postfix: http://www.codechewing.com/library/set-up-postfix-on-ubuntu-server/

https://help.ubuntu.com/14.04/serverguide/postfix.html

useful:

https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mysql

Configure Postfix to Use Gmail SMTP on Ubuntu https://rtcamp.com/tutorials/linux/ubuntu-postfix-gmail-smtp/

 

Smtp

http://www.havetheknowhow.com/Configure-the-server/Install-ssmtp.html

 

[php snippet=1]

Bemutatkozás

név: Kunsági Zsolt
e-mail: zsoltkunsagi[at]gmail[dot]com
LinkedIn: https://www.linkedin.com/in/zsolt-kuns%C3%A1gi-09664b87/

Jelenleg a Magyar Telekom PHP alapú belső intranet oldalait fejlesztem, tartom karban egy külső alvállalkozó cégen keresztül. Távmunkában dolgozom.

Egyéni munkáim:
Digitális termékek boltjta (PHP Laravel – DEMO): https://blogbook.hu/laravel_digital_arts/public/
Használt cikkek Aukciós oldala (PHP Laravel – DEMO): https://blogbook.hu/auction/public/

Játék látássérülteknek (Android Unity): https://play.google.com/store/apps/details?id=com.SmartCodeCreator.BlindBird

18+ éve foglalkozom programozással.
PHP, MySQL, Javascript alapú weboldalakat fejlesztek.
PHP keretrendszerek között jelenleg a Laravelt használom, korábban a Zend Framework, CakePHP keretrendszerekkel dolgoztam.
Javascript könyvtáraknál a jQuery-t alkalmazom, a VueJs és ReactJs könyvtárakat tanulom.
A szakmai anyagokat angolul olvasom, angol nyelvű oktató videók segítségével képzem magam.

Programozás több területe is érdekel:

Python programozást oktató videóim: https://blogbook.hu/freebirdprogramozokepzo/

Egy érdekes kép a képben (generált kép) munka: https://drive.google.com/open?id=1lfoAA7muzX30ZklYQsWe0_nybeDq4Ew6

Unity3D környezetben C# nyelven mobil programot, játékot készítek.
Ionic könyvtárral mobil alkalmazást fejlesztettem.
Saját VPS szervert Ubuntu Server üzemeltettem.

Egyéb:
Photoshop, Bootstrap, Selenium

SharePoint 2013 felhasználói ismeret

World of Work Moonshot 2017 szereplés: https://www.it-services.hu/hirek/gyozelem-a-world-of-work-moonshot-2017-en/

Készítettem társkereső oldalt (Laravel), Medtime időpontfoglaló oldalt (Zend Framework)

Az Apple Developer programban részt vettem 2017-ben. Több alkalmazásom szerepelt az Apple Store-ban.
A Windows 10 rendszeren futó Oracle Virtualboxba telepített macOS Sierra alatt fordítottam és telepítettem a programokat.

Travel Data Post – Support page





Short intro:
You can save text, image, location data (GPS) on the mobile database.
When you have internet connection you can upload your website.
The server side transport code here:
https://bitbucket.org/webeswork/traveldatapostserverside/src/

App intro video: https://www.youtube.com/watch?v=DuW-G4auPa4


Android version on the Google Play : https://play.google.com/store/apps/details?id=com.ionicframework.traveldatapost493306


Server side code (PHP It is also working on shared hosting): https://bitbucket.org/webeswork/traveldatapostserverside/src/


Forum: https://groups.google.com/forum/?hl=hu#!forum/travel-data-post-mobile-application


support email: webeswork@yahoo.com


You can download the code from here (I will upload the new version next week): https://www.codester.com/items/4052/travel-data-post-ionic-app-with-php-backend?ref=smartcodecreator


The Facebook page: https://www.facebook.com/ionic.framework.application.with.laravel.backend/


You can save text, image, location data (GPS) on the mobile database.
When you have internet connection you can upload your website.
The server side transport code here:
https://bitbucket.org/webeswork/traveldatapostserverside/src/

The Idea:
I like running, walking, hiking. I created this application for sharing, storing some interesting moment of your life everytime (when you don’t have internet connection)


Tech info:
This mobile app project has been created with Ionic 3 framework.
It is hybrid mobile app development. You can generate the Android, IOS, Windows, PWA (browser) version.​

If you don’t set the server side code path the default place is: http://qrparty.hu

Test site:

If you set this USER ID in the POST after uploading you can delete this POST.

Test mobile user ID: 9cvvp

Test user:
email: xyusertest@gmail.com
password: 123456

If you register first on the http://qrparty.hu You will got your USER ID.


Test site of the server side code (PHP):

Write this:

http://knowhouse.hu/travel/phpcode

into ‘Server side absolute path of the code library’ place

and

http://knowhouse.hu/travel/phpcode

into ‘Your Website domain’ place