News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Danne Lundqvist's Blog:
Problem sending mail with PHP mail function
April 17, 2007 @ 08:24:00

In a new post on the Dotvoid.com blog today, Danne Lundqvist talks about some of the issues he's had with the mail function in PHP. Specifically, it's about the mails being set but not making it to their destinations.

Instead I have used a PHP class that allows me to send emails using a remote smtp server using an account on that server. This has been a good solution for my setup anyways. A few days ago a friend of mine was asked to investigate the very same problem for a client.

As it turns out, the solution to their problem was pretty simple - a conflict between the sendmail_from in the php.ini and the "From" passed into the mail function call. A simple ini_set resolved the issue and kept the spam filters from catching and blocking the message.

1 comment voice your opinion now!
mail function sending spam from sendmailfrom phpini mail function sending spam from sendmailfrom phpini


WebCheatSheet.com:
Two New Tutorials - Database Export & Sending Email
February 09, 2007 @ 12:36:00

WebCheatSheet.com has two new tutorials posted today - one dealing with the export of a database schema in an XML format and the other about sending emails from PHP.

Here's a link to the first article.

Sometimes it can be useful to have a dump of the current database schema. This script reads the schema from a MySQL database and outputs XML that describes the schema.

And a link to article number two.

So, you want to send automated email messages from your PHP application. This can be in direct response to a user's action, such as signing up for your site, or a recurring event at a set time, such as a monthly newsletter. Sometimes email contains file attachments, both plain text and HTML portions, and so on. To understand how to send each variation that may exist on an email, we will start with the simple example and move to the more complicated.
1 comment voice your opinion now!
database export xml schema sending email text html attachment database export xml schema sending email text html attachment


DevArticles:
Sending Email with AJAX - Interacting with the Server
January 31, 2006 @ 12:09:58

DevArticles has posted the last part in their "Sending Email with Ajax" series today - an explaination of the last piece of the puzzle, server-side interaction.

Welcome to the last tutorial of the series "Sending email with AJAX." As you may have guessed regarding the title, this three-part series explains the development of a fairly simple AJAX-driven email client application, which offers some interesting capabilities for sending email, as well as for displaying and adding contacts, all without the need to involve page reloads.

They start off with a quick recap of the previous parts, and move quickly on to the script you'll need to accept the Ajax messages from the client (in this case, PHP). They show you how to have it add a contact to an XML file and send off the message to the server to be handled through PHP's mail() function...

11 comments voice your opinion now!
ajax email sending server interaction ajax email sending server interaction



Community Events





Don't see your event here?
Let us know!


community code developer tips threedevsandamaybe api laravel list series symfony interview zendserver language bugfix podcast deployment framework conference introduction release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework