Change mail From address to asiakaspalvelu@konesaliturku.fi
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:
4
api.php
4
api.php
@@ -110,7 +110,7 @@ switch ($action) {
|
|||||||
if ($phone) $body .= "Puhelin: $phone\n";
|
if ($phone) $body .= "Puhelin: $phone\n";
|
||||||
$body .= "\nViesti:\n$message\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 .= "Reply-To: $email\r\n";
|
||||||
$headers .= "Content-Type: text/plain; charset=UTF-8\r\n";
|
$headers .= "Content-Type: text/plain; charset=UTF-8\r\n";
|
||||||
|
|
||||||
@@ -291,7 +291,7 @@ switch ($action) {
|
|||||||
// Send email
|
// Send email
|
||||||
$to = 'asiakaspalvelu@konesaliturku.fi';
|
$to = 'asiakaspalvelu@konesaliturku.fi';
|
||||||
$subject = 'Tarjouspyyntö: ' . $name . ($company ? " ($company)" : '');
|
$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 .= "Reply-To: $email\r\n";
|
||||||
$headers .= "Content-Type: text/plain; charset=UTF-8\r\n";
|
$headers .= "Content-Type: text/plain; charset=UTF-8\r\n";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user