dears.... thanks for your reply as well,
this is for sharley also,,
i have been trying for 3 days now, and i think i am missing the concept itself,
let me clear out something
this server is located at closed windows network, lets say bigdomain.com (there is already an email server -exchange) in bgdomain.com, we don't want this)
this server is called smallserver.bigdomain.com
now there is proxy anyway on bigdomain.com, i am uisng my windows login @bigdomain.com to authinticate and browse... that is not an issue... and i do not want to send to outside, all the purpose is to make scripts on smallserver.bigdomain.com (using xampp) to send notification emails to bigdomain.com mail user.... thats it..
previously few months back, i was lucky installing hmail server with horde and could send from smallserver to bigdomain mail addres using web access... but now with xampp doesn't work this sendmail thing nor hmail server new version (i coudn't install the roundbue on it yet)
now as Sharley outlined that i don't need smtp server isntalled, i deactivated hmail server, all my assumption now is that i don't need any mail server to send mail via php scripts to mail user @bigdomian.com...............
but? if i dont' need stmp server installed on the server so what is these configruation for? i mean these all u posting in the messages here? what is it for?
ok let me tell u what i have tried:
my php ini is like this
- Code: Select all
sendmail_from = localhost
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
and my sendmail.ini looks like this: (after many changes and tries)
- Code: Select all
smtp_server=smallserver.bigdomain.com // (also tried smallserver, tried localhost, tried ip address, tried to comment it out....)
; smtp port (normally 25)
smtp_port=25
; the default domain for this server will be read from the registry
; this will be appended to email addresses when one isn't provided
; if you want to override the value in the registry, uncomment and modify
;default_domain=local
; log smtp errors to error.log (defaults to same directory as sendmail.exe)
; uncomment to enable logging
error_logfile=error.log
; create debug log as debug.log (defaults to same directory as sendmail.exe)
; uncomment to enable debugging
debug_logfile=debug.log
; if your smtp server requires authentication, modify the following two lines
auth_username=info@smallserver.bigdomain.com
auth_password=password
; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines
;pop3_server=
;pop3_username=
;pop3_password=
; to force the sender to always be the following email address, uncomment and
; populate with a valid email address. this will only affect the "MAIL FROM"
; command, it won't modify the "From: " header of the message content
force_sender=info@smallserver.bigdomain.com
Note:
info@smallserver.bigdomain.com i created it with hmail server, and also tried with hmail server enabled and disabled... all the same issues
then i read about sending test message to check configurations and uncommented log file to store these data:
- Code: Select all
11/10/23 17:29:08 : SMTP authentication is required.<EOL>
11/10/23 17:30:26 : Authentication failed. Restarting authentication process.<EOL>
11/10/23 17:42:19 : Authentication failed. Restarting authentication process.<EOL>
11/10/23 17:43:43 : Message is missing sender's address
11/10/23 17:45:18 : Socket Error # 10061<EOL>Connection refused.
11/10/23 17:45:43 : Socket Error # 10061<EOL>Connection refused.
11/10/23 17:48:12 : Socket Error # 10061<EOL>Connection refused.
11/10/23 17:49:09 : SMTP authentication is required.<EOL>
11/10/23 17:49:47 : Authentication failed. Restarting authentication process.<EOL>
11/10/23 17:50:09 : Authentication failed. Restarting authentication process.<EOL>
11/10/23 17:58:38 : Authentication failed. Restarting authentication process.<EOL>
11/10/23 18:01:26 : Authentication failed. Restarting authentication process.<EOL>
11/10/23 18:02:58 : Authentication failed. Restarting authentication process.<EOL>
11/10/23 18:20:19 : Authentication failed. Restarting authentication process.<EOL>
each error trying to modify something...........
in the testmail.php i put
myUsername@bigdomain.com - though it is working fine this one @bigdomain.com from inside the company and from outside as well..
now again, do i need hmail server in this setup or php function will do this send mail to bigdomain.com mail user?
and if i don't need it, php function will the mail magically, then why sendmail.ini require configration information about smtp authotication?
there is defenitly something i am missing here, and starving to know it
plz help
Mike