Connection could not be established with host smtp.googlemail.io :stream_socket_client(): unable to connect to tcp://smtp.googlemail.io:587 (No connection could be made because the target machine actively refused it. )
Hi, as now "less secure app" option has been disabled by google so how can I send email using smtp now. Please also make a video on send email from office 365 or IMAP/POP.
hi your tutorial is great.. im just curious because im new in coding. what if the email that you need to send the mail to, comes from the data that was recently saved in database? thank u i. advance..
i got an error "Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number" what will do
bro i m trying in post method. all is well about post method but an error occurred. saying that {message: "Array to string conversion", exception: "ErrorException",…} message: "Array to string conversion" exception: "ErrorException" file: "E:\web documents\xamp PHP\htdocs\portfolio\app\Mail\ContactMail.php" line: 24 trace: [{file: "E:\web documents\xamp PHP\htdocs\portfolio\app\Mail\ContactMail.php", line: 24,…}
Hi, Im using octoberCMS and I get that error when I try to send a mail Expected response code 250 but got code "550", with message "550 5.7.1 Relaying denied anyone please help !
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed failed tried diff smtp for .env file also didnt work same coming for Gmail , sometimes SSL failed, STARTTLS etc etc comes
Did anyone encouter this "Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed" ????
If you using Larvel 7 then in your .env file replace MAIL_MAILER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS=null MAIL_FROM_NAME="${APP_NAME}" with this MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME=your_email_id@gmail.com MAIL_PASSWORD=Your email password MAIL_ENCRYPTION=tls
I got this error Connection could not be established with host smtp.gmail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number If anyone have done this let me know
no one, literally no one told me that I have to enable the option in gmail. Now I am saved. Salute!!!
2:30 setup gmail to allow Laravel connection (less secure apps)
3:47 Email settings in .env file
This is the correct configuration of smt gmail! Thank you so much you save me heheh! Subscribed 👍
Connection could not be established with host smtp.googlemail.io :stream_socket_client(): unable to connect to tcp://smtp.googlemail.io:587 (No connection could be made because the target machine actively refused it. )
the best tutorial for this issue
thank you sir
Hi, as now "less secure app" option has been disabled by google so how can I send email using smtp now. Please also make a video on send email from office 365 or IMAP/POP.
hi your tutorial is great.. im just curious because im new in coding. what if the email that you need to send the mail to, comes from the data that was recently saved in database? thank u i. advance..
thanks! i finally could send an email with laravel :)
thank you! you save my life. lol. I can use this in the Laravel scheduler as well
Great tutorial man. You just earned a sub. Bravo!
Muchas gracias!! Muy completo el tutorial.!
i got an error "Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number" what will do
altamente funcional... e como posso altera o titulo Nome Laravel que esta no email?
Thank you, boss, it is working and keep posting such type videos
wow brother what a way to teach thank u very much
bro i m trying in post method. all is well about post method but an error occurred. saying that
{message: "Array to string conversion", exception: "ErrorException",…}
message: "Array to string conversion"
exception: "ErrorException"
file: "E:\web documents\xamp PHP\htdocs\portfolio\app\Mail\ContactMail.php"
line: 24
trace: [{file: "E:\web documents\xamp PHP\htdocs\portfolio\app\Mail\ContactMail.php", line: 24,…}
So... This helped me a lot. But you should use a Controller instead that a function inside the routes file.
This was helpfull though
i get this error Connection could not be established with host smtp.googlemail.com
Thank you sooooooooooo much.. It was very helpful
hi! how can i change "laravel" when i receive the email in gmail
Thanks! I made it send email from Laravel application
How can i configure user email dynamical?
Class 'app\Mail\TestMail' not found with fatalthrowable error
InvalidArgumentException
Mailer [] is not defined.
please help
Cannot send message without a sender address
thank you very much,, you save my day :)
Can you tell me how to send mail with Register form ??
sir where did you get the mail_username and mail_password
Hi, Im using octoberCMS and I get that error when I try to send a mail
Expected response code 250 but got code "550", with message "550 5.7.1 Relaying denied
anyone please help !
delete October and use clean Laravel
Images are not shown in gmail. Can you give me a hint on that. Thanks
Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
failed tried diff smtp for .env file also didnt work same coming for Gmail , sometimes SSL failed, STARTTLS etc etc comes
Pause your antivius and run again
good tutorial dude, thank you
Congratulations on the tutorial, but I have a query.
Is it correct to configure the mail detail in the route file?
u can configure the mail detail in contoller.. this video just for example (hardcore)
Thank you it works...
syntax error, unexpected 'Mail' (T_STRING)
Sir ssl operation failed with code1 error aa rahi hai
Please someone help, i got this error and i don't know why
stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
This error comes because of antivirus so pause your antivirus and run again
@@SurfsideMedia Thanks it's working now
Excellent!!
Thanks good lesson
how to send zip file to gmail?
Did anyone encouter this "Connection could not be established with host smtp.googlemail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed" ????
If you using Larvel 7 then in your .env file replace
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"
with this
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=your_email_id@gmail.com
MAIL_PASSWORD=Your email password
MAIL_ENCRYPTION=tls
@@mahaksrivastava132 This works 100% in laravel 6 also. Many thanks
I got this error
Connection could not be established with host smtp.gmail.com :stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
If anyone have done this let me know
i got the same error, i don't know why
Disable the antivirus for a while and run this code again
Nice
thank you so much
Error
Class 'mail' not found
localhost:8000/send-mail
Great
the from-email-adresse is wrong, it is always equal to-email
Se merece, si funciona (Y)
thanks man
error Array to string conversion
thank you
ErrorException
Array to string conversion
No email receive sir
Watch again this video and Check the code and settings
status 500
Cannot send message without a sender address