Use the actual mailbox as sender instead of noreply to avoid
delivery issues.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 22:36:38 +02:00
parent 8ddcaee607
commit c626823f19

View File

@@ -110,7 +110,7 @@ switch ($action) {
if ($phone) $body .= "Puhelin: $phone\n";
$body .= "\nViesti:\n$message\n";
$headers = "From: noreply@konesaliturku.fi\r\n";
$headers = "From: asiakaspalvelu@konesaliturku.fi\r\n";
$headers .= "Reply-To: $email\r\n";
$headers .= "Content-Type: text/plain; charset=UTF-8\r\n";
@@ -291,7 +291,7 @@ switch ($action) {
// Send email
$to = 'asiakaspalvelu@konesaliturku.fi';
$subject = 'Tarjouspyyntö: ' . $name . ($company ? " ($company)" : '');
$headers = "From: noreply@konesaliturku.fi\r\n";
$headers = "From: asiakaspalvelu@konesaliturku.fi\r\n";
$headers .= "Reply-To: $email\r\n";
$headers .= "Content-Type: text/plain; charset=UTF-8\r\n";