Sendmail is a Linux email client but for Windows it was given the name Fake Sendmail by it's developer and in no way means that it does anything other than emulate the Linux Sendmail version.
sendmail readme.html wrote:fake sendmail for bugzilla/windows
http://glob.com.au/sendmail
sendmail[at]glob.com.au
about
sendmail.exe is a simple windows console application that emulates sendmail's
"-t" option to deliver emails piped via stdin.
it is intended to ease running unix code that has /usr/lib/sendmail hard coded
as an email delivery means.
it doesn't support deferred delivery, and requires an smtp server to perform
the actual delivery of the messages.
jemcdaniel wrote:I tried to use bbcodes to colorize the text to make it easier to read, but they didn't work, just showed up as literals in the preview.
You can't use bbcode in the forum
code tags but you can use bbcode in the forum
quote tags - see above examples.
Try this:
Comment out this part of sendmail.ini so it looks like this
- Code: Select all
; 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=thehiddenmanna.org
Add your email address here:
- Code: Select all
; 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=jim@thehiddenmanna.org
Change the email address to suit and in the mailtest.php code below.
In your php.ini file comment out the whole of the Win32 section as it is only required you use one or the other and you are using sendmail
- Code: Select all
; For Win32 only.
; http://php.net/smtp
; SMTP = localhost
; http://php.net/smtp-port
; smtp_port = 25
Save all the changes and restart Apache.
To test your configuration:
Delete the C:\xampp\sendmail\sendmail.log file if there is one.
(
It will be recreated automagically as needed).
Create a file called mailtest.php and put it in the C:\xampp\htdocs folder using this code
- Code: Select all
<?php
error_reporting(E_ALL);
var_dump(mail('jim@thehiddenmanna.org', 'testmail', 'This is a testmail.'));
?>
Access the file in your browser using
http://localhost/mailtest.php.
1. What does the output say in your browser?
2. What is now in the C:\xampp\sendmail\sendmail.log file?
3. Allow some time for the mail to be delivered then can you see this new email has been delivered in TBird or which ever email client you use - also check your spam folder if you have one?
Good luck and please let me know if this solution is successful.