PDA

View Full Version : phpmail() and smtp not working properly.


ITDevil
03-07-2007, 09:13 AM
Hi,

Finally got my exim online, Now PHPMAIL() is not working. i when i switched vBulletin to use SMTP it sends email with format.


Like this

You are receiving this email because your email address was entered as an email test at AquariumBoard Forums. The first step of this email test script has been completed. However, a formatting test is still necessary: A paragraph break. A single line break. Another paragraph break. Another single line break. Another single line break. If the above lines look correct, you are finished. The email features on your server are setup correctly. If this email is run together on one line, there is possibly a configuration error with your mail server. Please ensure it is configured correctly.



the header of email looks like this


Return-Path: <xxxx@xxxxx.xxx>
Received: from spamblock-be-11.sunrise.ch (194.158.229.48) by mail-ms.sunrise.ch (7.2.073)
id 45C1BB840014048C for xxxx@xxxxx.xxx; Wed, 7 Mar 2007 16:49:42 +0100
Received: from poqbum.com (xx.xx.xx.static.theplanet.com [xxx.xxx.xxx.xx])
by spamblock-be-11.sunrise.ch (8.13.8/8.13.0) with ESMTP id l27Fnefr003861
for <xxxx@xxxxx.xxx>; Wed, 7 Mar 2007 16:49:41 +0100
Received: from localhost ([127.0.0.1]:39197)
by xxxx.com with smtp (Exim 4.66)
(envelope-from <xxxx@xxxxx.xxx>)
id 1HOyOa-0007Er-4B
for xxxx@xxxxxx.xx; Wed, 07 Mar 2007 09:49:40 -0600
Date: Wed, 7 Mar 2007 15:49:40 +0000
To: xxx@xxxx.xxx
From: "xxxx@xxxxx.net" <xxxxx@xxxxxxx.net>
Message-ID: <200703071539.1365eb298881@xxxxxxx.com>
MIME-Version: 1.0
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: vBulletin Mail via PHP
Subject: vBulletin Email Test


You are receiving this email because your email address was entered as an email test at Test Forums.

The first step of this email test script has been completed. However, a formatting test is still necessary:

A paragraph break.
A single line break.

Another paragraph break.
Another single line break.
Another single line break.

If the above lines look correct, you are finished. The email features on your server are setup correctly.
If this email is run together on one line, there is possibly a configuration error with your mail server. Please ensure it is configured correctly.

vineel
03-24-2007, 06:27 AM
i had form mailer in my page
i used mail() for this
but its not working
says it has been disabled
is their any lternative