Php email from intranet form to DH

software development


I’ve got an intranet webserver with a form. When the user clicks “submit” it updates a database.

I’d like have the system send an email notice with the form contents. We use DH for our external website and email host.

Is this possible?

Currently, my php.ini file contains:

[code][mail function]
; For Win32 only.
smtp_port = 25

; For Win32 only.
;sendmail_from =
sendmail_from =[/code]

I’ve also tried port 587.
My php code contains:
//Send Email @93-1F4E470B
global $ECO1;
ini_set(“SMTP”, “”);
$to = "";
$subject = “Test”;
$message = “test”;
$from = "";
$charset = “Windows-1252”;
$transferEncoding = “”;
$additional_headers = “From: $from\nReply-To: $from\nContent-Type: text/plain; charset=$charset\nContent-Transfer-Encoding: $transferEncoding”;
mail ($to, $subject, $message, $additional_headers);
//End Send Email[/php]