河野様
アークウェブの志田です。
お世話になっております。
変更箇所についてご連絡いたします。
plugins/AForm/lib/AFormEngineCGI/FormMail.pm
のソースコードの中で、
// ---
my %headers = (
'From' => ( $first_customer_mail ) ? $first_customer_mail : $mail_from,
'To' => $aform->mail_to,
'Subject' => &convert_dependence_char(&_replace_aform_data_id($subject, $aform, $fields)),
'Cc' => \@mail_cc,
'Bcc' => \@mail_bcc,
'Return-Path' => ( $first_customer_mail ) ? $first_customer_mail : $mail_from,
'Reply-To' => ( @$customer_mails ) ? join(',', @$customer_mails) : $mail_from,
);
// ---
という記述があるかと存じますが、
この部分を、
// ---
my %headers = (
'From' => $mail_from,
'To' => $aform->mail_to,
'Subject' => &convert_dependence_char(&_replace_aform_data_id($subject, $aform, $fields)),
'Cc' => \@mail_cc,
'Bcc' => \@mail_bcc,
'Return-Path' => ( $first_customer_mail ) ? $first_customer_mail : $mail_from,
'Reply-To' => ( @$customer_mails ) ? join(',', @$customer_mails) : $mail_from,
);
// ---
と変更していただければご要望の動きになるかと存じます。