Scroll to top

Blogs

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to send custom email template in wordpress?

 Send custom email template in wordpress $body = file_get_contents(WP_CONTENT_DIR . ‘/themes/Avada-Child-Theme/contact-email.html’);$body = str_replace(“#name#”,$_POST[‘quotename’],$body);$body = str_replace(“#email#”,'<a style=”color:#fff” href=”mailto:’.$_POST[‘quoteemail’].’”>’.$_POST[‘quoteemail’].'</a>’,$body);$body = str_replace(“#mobile#”,$_POST[‘quotemobile’],$body);$body = str_replace(“#message#”,$_POST[‘quotemessage’],$body); $toadmin = “Scott@USAPrivateMoney.com, Jack@USAPrivateMoney.com, Prospect.60008.140@realtyjuggler.com”; $adminmessage = “You just

Read More »

How to send email via PHP?

<?php$to = “somebody@example.com”;$subject = “My subject”;$txt = “Hello world!”;$headers = “From: webmaster@example.com” . “rn” .“CC: somebodyelse@example.com”;mail($to,$subject,$txt,$headers);?>

Read More »