config mail php
<?php
$to = "[email protected], [email protected]";
$subject = "This is a test HTML email";
$message = "
<html>
<head>
<title>This is a test HTML email</title>
</head>
<body>
<p>Test email. Please ignore.</p>
</body>
</html>
";
// It is mandatory to set the content-type when sending HTML email
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
// More headers. From is required, rest other headers are optional
$headers .= 'From: <[email protected]>' . "\r\n";
$headers .= 'Cc: [email protected]' . "\r\n";
mail($to,$subject,$message,$headers);
?>
Also in PHP:
- dateofrmat php
- all cap in php
- day - inphp
- Class 'Pusher' not found
- fgets function in php
- 500 server error laravel handle
- does queen elizabeth control canada
- Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 249856 bytes)
- date time php
- format DateTime object php
- cart icon in woocommerce
- Day of Week Using carbon library
- count number of characters php
- display current date and time in php
- How to pass form variables on all pages laravel helpers
- encode string to base64 in php
- all words capital php
- basic php
- ->count_all_results() in code igniter
- /webpack.js error on npm install && npm run dev
- check key exist array php
- e error reporting all
- date time from timestamp php
- clear cache from admin panel laravel