{"id":1131,"date":"2014-10-10T03:00:21","date_gmt":"2014-10-10T00:00:21","guid":{"rendered":"http:\/\/www.webcodegeeks.com\/?p=1131"},"modified":"2014-10-09T20:39:40","modified_gmt":"2014-10-09T17:39:40","slug":"how-to-customize-wordpress-mail-sending-method","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/","title":{"rendered":"How to customize WordPress mail sending method"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignright\" src=\"\/wp-admin\/images\/w-logo-blue.png\" alt=\"\" width=\"80\" height=\"80\" \/>Last week, I suddenly stopped receiving email notifications on this blog hosted on <a href=\"https:\/\/www.openshift.com\/\" target=\"_blank\">openshift<\/a>. I came to know after some <a href=\"http:\/\/stackoverflow.com\/questions\/17583205\/sendmail-on-openshift-php-codeigniter\/17598537#17598537\" target=\"_blank\">reading<\/a> that commonly used cloud hosts such as openshift, aws, etc. are usually blacklisted by most email servers, hence its not a good idea to use them to send mails.<\/p>\n<p>In any case, why should I depend on my hosting provider for email sending. Until now, I had never bothered about how mail sending worked in wordpress as it used to work out of the box. So last week, I pulled up my socks and decided to put my php <a href=\"http:\/\/en.wikipedia.org\/wiki\/Geany\" target=\"_blank\">IDE<\/a> and <a href=\"http:\/\/en.wikipedia.org\/wiki\/Xdebug\" target=\"_blank\">debugger<\/a> to some good work.<\/p>\n<p>I decided to use my <a href=\"https:\/\/sendgrid.com\" target=\"_blank\">sendgrid<\/a> account to send mails. All that`s needed now is calling the web service with the credentials they\u2019ve provided. But how to integrate this with my wordpress blog?<\/p>\n<p>Once I located <em><strong>where<\/strong><\/em> the mail sending functionality is there in wordpress code, adding a new method was a piece of cake!! Turns out that wordpress, by default, just executes the \u201cmail\u201d command which is usually just a symlink on unix boxes actually pointing to <em>\/usr\/bin\/sendmail<\/em> or something. I found it in a pluggable function <em>wp_mail()<\/em>. (see <em>\/wp-includes\/pluggable.php<\/em>). I also came to know from the codex that <a href=\"http:\/\/codex.wordpress.org\/Pluggable_Functions\">pluggable functions<\/a> can be easily overridden by plugins.<\/p>\n<p>Now all I had to do was write a small plugin in the \/wp-content\/plugins\/sendgrid\/ folder and override this wp_mail() function with whatever I want.<\/p>\n<p>Lo and behold! I started receiving notifications for all comments and contact forms filled, by just writing this one plugin. I found the process so simple and easy to integrate with wordpress that I couldn\u2019t help sharing with you. Here are the two php snippets that you need to place in \/wp-content\/plugins\/<em>your-plugin-name<\/em>\/ and activate it. <em>WordPress<\/em> will do the rest!<\/p>\n<p>(First one is the main plugin php file that displays the plugin in your admin menu and overrides the wp_mail function. The second php file contains the actual custom function that sends mail via sendgrid.)<\/p>\n<p><em>wp-content\/plugins\/sendgrid\/myplugin.php:<\/em><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;?php\r\n\/**\r\n * Plugin Name: Sendgrid Plugin\r\n * Plugin URI:  http:\/\/www.prahladyeri.com\r\n * Description: Mail sending using Sendgrid Web API\r\n * Version:     0.1\r\n * Author:      Prahlad Yeri\r\n * Author URI:  http:\/\/www.prahladyeri.com\r\n * License:     MIT\r\n *\/\r\n\r\n\/\/namespace MailDemo;\r\nrequire_once('sendgrid.php');\r\n\r\nadd_action( 'init', 'plugin_init' );\r\n\r\n\/**\r\n * Plugin Name: Prahlad's mail\r\n * Description: Alternative way to send a mail\r\n *\/\r\nif (!function_exists('wp_mail'))\r\n{\r\n\tfunction wp_mail($to, $subject, $message, $headers = '', $attachments = array())\r\n\t{\r\n\t\t$sto = '';\r\n\t\tif (is_array($to))\r\n\t\t{\r\n\t\t\t$sto = implode(',',$to);\r\n\t\t} else {\r\n\t\t\t$sto = $to;\r\n\t\t}\r\n\t\tsendgridmail('wpadmin@mywebsite.com', $sto, $subject, $message, $headers);\r\n\t}\r\n}\r\n\r\nfunction plugin_init()\r\n{\r\n}<\/pre>\n<p><em>wp-content\/plugins\/sendgrid\/sendgrid.php:<\/em><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;?php\r\n\/\/wp-content\/plugins\/sendgrid\/sendgrid.php\r\nfunction sendgridmail($from, $to, $subject, $message, $headers) {\r\n$url = 'https:\/\/api.sendgrid.com\/';\r\n$user='your-sendgrid-username';\r\n$pass='your-sendgrid-password'; \t\t\r\n\r\n$params = array(\r\n'api_user'  =&gt; $user,\r\n\t\t'api_key'   =&gt; $pass,\r\n\t\t'to'        =&gt; $to,\r\n\t\t'subject'   =&gt; $subject,\r\n\t\t'html'      =&gt; '',\r\n\t\t'text'      =&gt; $message,\r\n\t\t'from'      =&gt; $from,\r\n\t  );\r\n\r\n\t$request =  $url.'api\/mail.send.json';\r\n\r\n\t\/\/ Generate curl request\r\n\t$session = curl_init($request);\r\n\t\/\/ Tell curl to use HTTP POST\r\n\tcurl_setopt ($session, CURLOPT_POST, true);\r\n\t\/\/ Tell curl that this is the body of the POST\r\n\tcurl_setopt ($session, CURLOPT_POSTFIELDS, $params);\r\n\t\/\/ Tell curl not to return headers, but do return the response\r\n\tcurl_setopt($session, CURLOPT_HEADER, false);\r\n\tcurl_setopt($session, CURLOPT_RETURNTRANSFER, true);\r\n\r\n\tprint_r('obtaining the response');\r\n\t\/\/ obtain response\r\n\t$response = curl_exec($session);\r\n\tprint_r('closing curl session');\r\n\tcurl_close($session);\r\n\r\n\t\/\/ print everything out\r\n\t\/\/print_r($response);\r\n}\r\n\r\n\/\/only for testing:\r\n\/*$to      = 'prahladyeri@yahoo.com';\r\n$subject = 'Testemail';\r\n$message = 'It works!!';\r\necho 'To is: ' + $to;\r\n#wp_mail($to, $subject, $message, array() );\r\nsendgridmail($to, $subject, $message, array());\r\nprint_r('Just sent!');*\/<\/pre>\n<p>References:<\/p>\n<ol>\n<li><a href=\"http:\/\/codex.wordpress.org\/Pluggable_Functions\" target=\"_blank\">http:\/\/codex.wordpress.org\/Pluggable_Functions<\/a><\/li>\n<li><a href=\"http:\/\/codex.wordpress.org\/Pluggable_Functions\" target=\"_blank\">http:\/\/stackoverflow.com\/questions\/17583205\/sendmail-on-openshift-php-codeigniter\/17598537#17598537<\/a><\/li>\n<li><a href=\"http:\/\/en.wikipedia.org\/wiki\/Geany\" target=\"_blank\">http:\/\/en.wikipedia.org\/wiki\/Geany<\/a><\/li>\n<li><a href=\"http:\/\/en.wikipedia.org\/wiki\/Xdebug\" target=\"_blank\">http:\/\/en.wikipedia.org\/wiki\/Xdebug<\/a><\/li>\n<li><a href=\"https:\/\/sendgrid.com\" target=\"_blank\">https:\/\/sendgrid.com<\/a><\/li>\n<li><a href=\"https:\/\/sendgrid.com\/docs\/\" target=\"_blank\">https:\/\/sendgrid.com\/docs\/<\/a><\/li>\n<li><a href=\"https:\/\/www.openshift.com\/\" target=\"_blank\">https:\/\/www.openshift.com\/<\/a><\/li>\n<\/ol>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td><span class=\"reference\">Reference: <\/span><\/td>\n<td><a href=\"http:\/\/www.prahladyeri.com\/2014\/06\/customize-wordpress-mail-sending-method\/\">How to customize WordPress mail sending method<\/a> from our <a href=\"http:\/\/www.webcodegeeks.com\/wcg\/\">WCG partner<\/a> Prahlad Yeri at the <a href=\"http:\/\/www.prahladyeri.com\/\">Prahlad Yeri<\/a> blog.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Last week, I suddenly stopped receiving email notifications on this blog hosted on openshift. I came to know after some reading that commonly used cloud hosts such as openshift, aws, etc. are usually blacklisted by most email servers, hence its not a good idea to use them to send mails. In any case, why should &hellip;<\/p>\n","protected":false},"author":20,"featured_media":932,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-1131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to customize WordPress mail sending method - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"Last week, I suddenly stopped receiving email notifications on this blog hosted on openshift. I came to know after some reading that commonly used cloud\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to customize WordPress mail sending method - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"Last week, I suddenly stopped receiving email notifications on this blog hosted on openshift. I came to know after some reading that commonly used cloud\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webcodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prahlad1981\" \/>\n<meta property=\"article:published_time\" content=\"2014-10-10T00:00:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Prahlad Yeri\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/prahladyeri\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prahlad Yeri\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/\"},\"author\":{\"name\":\"Prahlad Yeri\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/adbf41ec03855cdb1730dd42f2725bfd\"},\"headline\":\"How to customize WordPress mail sending method\",\"datePublished\":\"2014-10-10T00:00:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/\"},\"wordCount\":680,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg\",\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/\",\"name\":\"How to customize WordPress mail sending method - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg\",\"datePublished\":\"2014-10-10T00:00:21+00:00\",\"description\":\"Last week, I suddenly stopped receiving email notifications on this blog hosted on openshift. I came to know after some reading that commonly used cloud\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to customize WordPress mail sending method\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"name\":\"Web Code Geeks\",\"description\":\"Web Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webcodegeeks\",\"https:\/\/x.com\/webcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/adbf41ec03855cdb1730dd42f2725bfd\",\"name\":\"Prahlad Yeri\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/70a8e7bba939c7539943aa1191374d2504d95a2a95acb04a1e44adc3b4c72fe3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/70a8e7bba939c7539943aa1191374d2504d95a2a95acb04a1e44adc3b4c72fe3?s=96&d=mm&r=g\",\"caption\":\"Prahlad Yeri\"},\"description\":\"Prahlad is a freelance software developer working on web and mobile application development. He also likes to blog about programming and contribute to opensource.\",\"sameAs\":[\"http:\/\/www.prahladyeri.com\/\",\"https:\/\/www.facebook.com\/prahlad1981\",\"http:\/\/in.linkedin.com\/pub\/prahlad-yeri\/16\/a53\/243\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/prahladyeri\"],\"url\":\"https:\/\/www.webcodegeeks.com\/author\/prahlad-yeri\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to customize WordPress mail sending method - Web Code Geeks - 2026","description":"Last week, I suddenly stopped receiving email notifications on this blog hosted on openshift. I came to know after some reading that commonly used cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/","og_locale":"en_US","og_type":"article","og_title":"How to customize WordPress mail sending method - Web Code Geeks - 2026","og_description":"Last week, I suddenly stopped receiving email notifications on this blog hosted on openshift. I came to know after some reading that commonly used cloud","og_url":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_author":"https:\/\/www.facebook.com\/prahlad1981","article_published_time":"2014-10-10T00:00:21+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg","type":"image\/jpeg"}],"author":"Prahlad Yeri","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/prahladyeri","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Prahlad Yeri","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/"},"author":{"name":"Prahlad Yeri","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/adbf41ec03855cdb1730dd42f2725bfd"},"headline":"How to customize WordPress mail sending method","datePublished":"2014-10-10T00:00:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/"},"wordCount":680,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg","articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/","url":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/","name":"How to customize WordPress mail sending method - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg","datePublished":"2014-10-10T00:00:21+00:00","description":"Last week, I suddenly stopped receiving email notifications on this blog hosted on openshift. I came to know after some reading that commonly used cloud","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2014\/10\/wordpress-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/wordpress\/how-to-customize-wordpress-mail-sending-method\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"WordPress","item":"https:\/\/www.webcodegeeks.com\/category\/wordpress\/"},{"@type":"ListItem","position":3,"name":"How to customize WordPress mail sending method"}]},{"@type":"WebSite","@id":"https:\/\/www.webcodegeeks.com\/#website","url":"https:\/\/www.webcodegeeks.com\/","name":"Web Code Geeks","description":"Web Developers Resource Center","publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.webcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webcodegeeks","https:\/\/x.com\/webcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/adbf41ec03855cdb1730dd42f2725bfd","name":"Prahlad Yeri","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/70a8e7bba939c7539943aa1191374d2504d95a2a95acb04a1e44adc3b4c72fe3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/70a8e7bba939c7539943aa1191374d2504d95a2a95acb04a1e44adc3b4c72fe3?s=96&d=mm&r=g","caption":"Prahlad Yeri"},"description":"Prahlad is a freelance software developer working on web and mobile application development. He also likes to blog about programming and contribute to opensource.","sameAs":["http:\/\/www.prahladyeri.com\/","https:\/\/www.facebook.com\/prahlad1981","http:\/\/in.linkedin.com\/pub\/prahlad-yeri\/16\/a53\/243\/","https:\/\/x.com\/https:\/\/twitter.com\/prahladyeri"],"url":"https:\/\/www.webcodegeeks.com\/author\/prahlad-yeri\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/1131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=1131"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/1131\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/932"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=1131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=1131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=1131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}