{"id":53,"date":"2026-07-25T13:36:31","date_gmt":"2026-07-25T11:36:31","guid":{"rendered":"https:\/\/swivelpos.com\/en\/?page_id=53"},"modified":"2026-07-25T13:36:55","modified_gmt":"2026-07-25T11:36:55","slug":"send-emails-with-xampp-on-windows","status":"publish","type":"page","link":"https:\/\/swivelpos.com\/en\/send-emails-with-xampp-on-windows\/","title":{"rendered":"Send emails with XAMPP on Windows"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">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 class=\"wp-block-paragraph\">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 class=\"wp-block-paragraph\">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 class=\"wp-block-paragraph\"><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 class=\"wp-block-paragraph\">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 class=\"wp-block-paragraph\">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 class=\"wp-block-paragraph\">Restart the Apache webserver via the XAMPP control panel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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>On Linux emails from websites will be sent with the Sendmail program.However, this program is not available for Windows. But [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-53","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/swivelpos.com\/en\/wp-json\/wp\/v2\/pages\/53","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swivelpos.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/swivelpos.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/swivelpos.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swivelpos.com\/en\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":2,"href":"https:\/\/swivelpos.com\/en\/wp-json\/wp\/v2\/pages\/53\/revisions"}],"predecessor-version":[{"id":55,"href":"https:\/\/swivelpos.com\/en\/wp-json\/wp\/v2\/pages\/53\/revisions\/55"}],"wp:attachment":[{"href":"https:\/\/swivelpos.com\/en\/wp-json\/wp\/v2\/media?parent=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}