Sending emails are generic tasks done my more applications. And core PHP also provides you with a
mail() function for sending the email. But developers at laravel made is an interesting and intuitive task when it comes to sending emails.
Laravel Developer has done a very appreciable job and also provided with different drivers and the option of sending emails. Some of those drivers are mailgun, postmark, Amazon SES driver, SMTP etc.
In this post, we’ll be covering topic regarding sending emails through laravel using SMTP services.
In your project root, you’ll find
.env the file which consists of…
Consider you have a heavy processing task to be performed by application this may be generating large data for reporting, blasting emails for a large number of users or such notifying people when their task gets completed.
These are some of the examples and as they are time-consuming you cannot execute these task is normal manner such are on button click or page submit. So to properly handling these task laravel provides queue functionality where tasks data is storing in a database and then the queue will automatically detect any jobs and execute them in background.
Laravel provides two different…
Typecasting is for converting a variable from one data type to another data type.
Constructors of respective datatypes are used.
In above example variable `x` is of type of string but it is converted to integer variable using constructor `int(variable_name)`
Originally published at http://thecodelearners.com on February 17, 2020.
Python strings are an array of characters placed one after the other.
Put string characters in variablePut string characters in variable
name = "Python String"
Python string may start from single, double or 3 (“‘) single, (“””) double qoutes
a = 'This is a python string...from single qoutes'
b = "This is a python string...from double qoutes"
c = '''This is a python string...from 3 single qoutes on start and finish'''
d = """This is a python string...from 3 double quotes on start and finish"""
This is a python string...from single quotes
This is a python string...from double quotes