Debug School

rakesh kumar
rakesh kumar

Posted on • Updated on

Laravel , flutter and linux ,git,javascript notes

https://stackoverflow.com/questions/41513882/laravel-5-how-do-you-catch-an-mailsend-error
https://stackoverflow.com/questions/64578392/laravel-8-render-exception-as-html-for-email

https://www.itsolutionstuff.com/post/laravel-send-an-email-on-error-exceptions-tutorialexample.html

https://stackoverflow.com/questions/45819536/laravel-5-swiftmailers-send-how-to-get-error-code
https://stackoverflow.com/questions/33163893/laravel-5-send-errors-to-email

how to setup mail in holidaylandmark

step 1:change in env
step 2:change in modal (mail from)
step 3:send username and pswrd,port,mail from et in database via admin panel

=====mail failure======
https://www.elitechsystems.com/laravel-7-8-send-error-exceptions-on-email/
https://stackoverflow.com/questions/23980979/laravel-not-sending-email-and-not-giving-errors

================================================
how to publish trip with or without sending email
or
to bypass not effect entire code
use try and catch
use if and else

method 1: In laravel controller where u write mail logic place inside try and catch

try{
Mail::to($OperatorMailadmin['email'])->send(new Tripcreated($OperatorMailadmin));
    log::info('after mail if hai naa');
}
catch()
{
}
Enter fullscreen mode Exit fullscreen mode

method 2:In laravel controller where u write mail logic place inside function where u return and apply if else condition

 if(checkMailCreds())
                {
                    try {
                        \Notification::locale(\App::getLocale())->send($users, new MailNotification($mail));
                    } catch (\Throwable $th) {
                        log::info('inside second catch');  
                    }
                }
Enter fullscreen mode Exit fullscreen mode

TASK

flutter and laravel performance and security
how to create library or funtion
regular check encryption and decryption

root have all kind of access like grant and revoke so dont delete root in linux while setup laravel project on linux
*find command in laravel will work with id
*

Problem

If http.ssl.conf inside lampp/extra not comment default SSL then error if u open wizbrand/phpmyadmin then valid not certificate.

If u have already grant all database and now u want to privilege some database then revoke first then grant some using astrik command (ask question)

(Doubt) also phpmyadmin and u created password but not work 1045 error come inside phpmyadmin folder vi config.inc.php

Top comments (0)