I am trying to set up mailing using php on my localhost.
I am not really quite aware what my options are, but a quick search found me sendmail.exe (which hasnt been updated for years, but is included with XAMPP)
I have also modified the properties of sendmail.exe so that it is running under administrative mode, with compatibility setting for windows xp sp 3
The result I am getting on the page is as follows
UAC opens up, requesting permission to run sendmail.exe
once I give the permission, sendmail.exe opens up a blank command prompt window
The website keeps loading, waiting for some sort of response from sendmail.exe.
Then nothing happens. The sendmail.exe command prompt never changes.
Any suggestions?
Or maybe a different solution to sendmail?
Thank you
Web ServersPHP
Last Comment
NeverEndingFlashStories
8/22/2022 - Mon
Dave Baldwin
For what it's worth, Gmail has changed their login authentication and you will not be able to use that code to connect to Gmail.
NeverEndingFlashStories
ASKER
Thanks, Dave. Any recommendation on what I need to use/do?
Thanks Dave.
I am keeping the thread alive for a little longer, hoping someone can give me a way to make sending mail using localhost with xampp on windows to work .
So setting up mercury mail server to send mail to thunderbird works. I dont think this can work for other online email, but at least it lets me tests that my code works before i ever have to upload my files to the server.
For now, the mercury solution worked. I have spent a day and a half trying sendmail.exe and phpmailer to work to no avail for me through gmail, for something that should work flawlessly if i had done this through a real server, and not a windows localhost one. So i'll keep the suggestion with hmail at the back of my mind for my next project.