Jump to content

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".

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.