amministrazione
posted this
09 March 2022
I'm sorry but I'm not sure to understand.
PHP mail function is:
mail(
string $to,
string $subject,
string $message,
array|string $additional_headers = [],
string $additional_params = ""
): bool
parameter "to" will be filled at design time with destination emal address that I set into "email address" text box
parameter "subject" will be filled ... how?
parameter "message" will be filled at runtime with text of the "message" textarea of the form
parameter "additional_headers" will be filled ... how? In additional headers I want use "From: customer@domain.com" collecting customer@domain.com from an inputbox at runtime otherwise I should set the "from" field into the from text box at design time. Please can you better clarify me this point?
Thank you