Skip to main content
Participant
December 26, 2021
Answered

Send Email from Xampp? [Branched from 2017 topic]

  • December 26, 2021
  • 2 replies
  • 443 views

Do you configure xampp to send emails?

This topic has been closed for replies.
Correct answer osgood_
quote

Do you configure xampp to send emails?


By @Manuja22398605xd1n

 

No, usually php emails will only be sent if the actual page is hosted on a real remote server not if the page is hosted on a local development server such as xampp. I always test by uploading the page to a real server.

2 replies

B i r n o u
Legend
December 27, 2021

@Manuja22398605xd1n Yes you shoudl be able to configure Xampp to send mail... @osgood_ , I agree that online is a far better solution, but well, Xampp is almost ready for such a task.. and should do the job

 

for this we will have to configure the php.ini file (located in the PHP folder)... where near line 1000 on could define the smtp server (which can be any smtp one like (gmail, your own, etc...))... then one will have to reproduce these setting in the sendmail.ini located in the sendmail folder depending on the PHP script that will be writen.

 

@Manuja22398605xd1n if you need further info, I could set up a test and write some script for that... just let know

Legend
December 27, 2021

I'd rather not go there because if you upset something that's xampp or mamp or whatever you're using destroyed and unless your technical ability is somewhat higher than mine you are going to struggle to rectify the situation.

 

I installed xampp on a brand new mac a couple of weeks back, got it working then messed around with some settings to try and get uploading to work and completely messed it up, even uninstalling xampp and reinstalling it again didn't solve the issues l had caused by tinkering. Had to use mamp in the end but now l have no fall back if mamp becomes corrupt...........l wished l had never tinkered because l don't use uploading that much anyway and everything else was working perfectly fine.

 

Tinkering is not for the faint hearted but as a last resort.

osgood_Correct answer
Legend
December 26, 2021
quote

Do you configure xampp to send emails?


By @Manuja22398605xd1n

 

No, usually php emails will only be sent if the actual page is hosted on a real remote server not if the page is hosted on a local development server such as xampp. I always test by uploading the page to a real server.