{"id":69,"date":"2026-01-21T14:59:18","date_gmt":"2026-01-21T14:59:18","guid":{"rendered":"http:\/\/www.posadoble.eu\/en\/?page_id=69"},"modified":"2026-01-21T14:59:41","modified_gmt":"2026-01-21T14:59:41","slug":"send-emails-xampp-windows","status":"publish","type":"page","link":"http:\/\/www.posadoble.eu\/en\/send-emails-xampp-windows\/","title":{"rendered":"Send emails with XAMPP on Windows"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Send emails with XAMPP on Windows<\/h1>\n\n\n\n<p>On Linux emails from websites will be sent with the Sendmail program.<br>However, this program is not available for Windows.<\/p>\n\n\n\n<p>But there is an alternative when you installed Archimedes with XAMPP.<br>When you install XAMPP, it asks to install Fake Sendmail.<br>When you install this program you can relay emails to a SMTP email server (even using SSL\/TLS).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1<\/h2>\n\n\n\n<p>Open \u201cphp.ini\u201d (in \u201cphp\u201d subdirectory of XAMPP, probably c:\\xampp\\php\\php.ini).<br>Change the following line to the path of the fake sendmail program of XAMPP.<br>The fake sendmail program is located in the \u201csendmail\u201d directory inside of XAMPP.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sendmail_path = \"\\\"C:\\xampp\\sendmail\\sendmail.exe\\\" -t\"<\/code><\/pre>\n\n\n\n<p><strong>Don\u2019t forget the extra escaping slashes (\\) and quotes (\u201c), these are important!<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2<\/h2>\n\n\n\n<p>Open \u201csendmail.ini\u201d (in \u201csendmail\u201d subdirectory of XAMPP, probably c:\\xampp\\sendmail\\sendmail.ini).<br>Find and change the following lines to the details of your SMTP server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>smtp_server=smtp.hoster.nl\nsmtp_port=465\nsmtp_ssl=ssl\nauth_username=henk\nauth_password=mypassword<\/code><\/pre>\n\n\n\n<p>Note: these lines are spread out across the sendmail.ini file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3<\/h2>\n\n\n\n<p>Restart the Apache webserver via the XAMPP control panel.<\/p>\n\n\n\n<p>The YouTube video below explains the whole process in detail:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Sending mail via XAMPP: Lesson 10\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/0qZ5Rc28M7k?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Send emails with XAMPP on Windows On Linux emails from websites will be sent with the Sendmail program.However, this program is not available for Windows. But there is an alternative when you installed Archimedes with XAMPP.When you install XAMPP, it asks to install Fake Sendmail.When you install this program you can relay emails to a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-69","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/pages\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/comments?post=69"}],"version-history":[{"count":2,"href":"http:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/pages\/69\/revisions"}],"predecessor-version":[{"id":71,"href":"http:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/pages\/69\/revisions\/71"}],"wp:attachment":[{"href":"http:\/\/www.posadoble.eu\/en\/wp-json\/wp\/v2\/media?parent=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}