Jump to content

sending mail from a client side php script


welshmike

Recommended Posts

Client side php script. That makes no real sense.

 

To send mail using php you can use mail or the phpMailer class which can be found via google.

 

Sorry I was not clearer. Ubuntu supports client side php and my small php program works on Ubuntu except that the mail function does not seem to send mail.

Client side php script. That makes no real sense.

 

To send mail using php you can use mail or the phpMailer class which can be found via google.

 

Sorry I was not clearer. Ubuntu supports client side php and my small php program works on Ubuntu except that the mail function does not seem to send mail.

 

Do you have a mail server installed on your Ubuntu machine?

Ubuntu supports client side php and my small php program works on Ubuntu except that the mail function does not seem to send mail.

 

That isn't exactly client side php as it actually turns your machine into a server. Postifx (and its dependencies) should be sufficient if configured correctly.

Thanks and point taken.

I uninstalled and reinstalled Postfix and realised that I had wrongly chosen the Local  option instead of the Internet option for the Postfix configuration.

I've now succeeded in sending emails from my PC by running my php script on it.

 

So thanks everyone is solving my problem and for the "education".

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.