It's nice to see all the support in this newsgroup. Hopefully I'll be a
contributor soon.
For now I'm hoping you could answer a question about the mail function in
PHP. When I use the mail command in my localhost, it's great. I can modify
the headers, use html tags, etc. But when I use it on my web space (1and1),
the header comes back as cgi-mailer-bounces-...@perfora.net, the header info
I entered, shows in the message (instead of the header) and the html tags
are displayed in the message as regular text.
Of course the php.ini file on my webspace is read only, so is there any php
commands I can use to override the display of the header and the use html
tags?
Any help would be greatly appreciated. Thanks and have a great day! 5 2898
The only way I've EVER been able to get mail working 100% of the time (i.e.
not bounced,
not blocked, thru spam filters, etc.) is the use PHPMailer
( http://phpmailer.sourceforge.net/).
"Lochness" <so*****@somewhere.com> wrote in message
news:7Ps2c.726385$ts4.121656@pd7tw3no... It's nice to see all the support in this newsgroup. Hopefully I'll be a contributor soon.
For now I'm hoping you could answer a question about the mail function in PHP. When I use the mail command in my localhost, it's great. I can
modify the headers, use html tags, etc. But when I use it on my web space
(1and1), the header comes back as cgi-mailer-bounces-...@perfora.net, the header
info I entered, shows in the message (instead of the header) and the html tags are displayed in the message as regular text.
Of course the php.ini file on my webspace is read only, so is there any
php commands I can use to override the display of the header and the use html tags?
Any help would be greatly appreciated. Thanks and have a great day!
They dont support html email...
"Lochness" <so*****@somewhere.com> wrote in message
news:7Ps2c.726385$ts4.121656@pd7tw3no... It's nice to see all the support in this newsgroup. Hopefully I'll be a contributor soon.
For now I'm hoping you could answer a question about the mail function in PHP. When I use the mail command in my localhost, it's great. I can
modify the headers, use html tags, etc. But when I use it on my web space
(1and1), the header comes back as cgi-mailer-bounces-...@perfora.net, the header
info I entered, shows in the message (instead of the header) and the html tags are displayed in the message as regular text.
Of course the php.ini file on my webspace is read only, so is there any
php commands I can use to override the display of the header and the use html tags?
Any help would be greatly appreciated. Thanks and have a great day!
Hello,
On 03/06/2004 08:05 PM, Lochness wrote: It's nice to see all the support in this newsgroup. Hopefully I'll be a contributor soon.
For now I'm hoping you could answer a question about the mail function in PHP. When I use the mail command in my localhost, it's great. I can modify the headers, use html tags, etc. But when I use it on my web space (1and1), the header comes back as cgi-mailer-bounces-...@perfora.net, the header info I entered, shows in the message (instead of the header) and the html tags are displayed in the message as regular text.
Of course the php.ini file on my webspace is read only, so is there any php commands I can use to override the display of the header and the use html tags?
If they are using safe mode probably not.
Anyway, you may want to try this class that lets you specify the
return-path address as a (virtual) header of your mail messages.
It comes with several sub-classes to let you try different delivery
modes (mail() function, sendmail program, qmail program and smtp TCP
connection.) Depending on what your ISP blocked, you may want to try one
each of the sub-classes until one works.
To simplify your task, the class comes with several wrapper functions
named sendmail_mail(), qmail_mail() and smtp_mail(), each using one of
the sub classes, that emulate the mail() function, so you do not have to
change your scripts much. http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html
Woohoo it worked awesome! And I only need to include two class files.
Thank you so much Mangina!!
"Mangina" <su*****@microsoft.com> wrote in message
news:10*************@corp.supernews.com... The only way I've EVER been able to get mail working 100% of the time
(i.e. not bounced, not blocked, thru spam filters, etc.) is the use PHPMailer (http://phpmailer.sourceforge.net/).
"Lochness" <so*****@somewhere.com> wrote in message news:7Ps2c.726385$ts4.121656@pd7tw3no... It's nice to see all the support in this newsgroup. Hopefully I'll be a contributor soon.
For now I'm hoping you could answer a question about the mail function
in PHP. When I use the mail command in my localhost, it's great. I can modify the headers, use html tags, etc. But when I use it on my web space (1and1), the header comes back as cgi-mailer-bounces-...@perfora.net, the header info I entered, shows in the message (instead of the header) and the html
tags are displayed in the message as regular text.
Of course the php.ini file on my webspace is read only, so is there any php commands I can use to override the display of the header and the use
html tags?
Any help would be greatly appreciated. Thanks and have a great day!
so*****@somewhere.com says... For now I'm hoping you could answer a question about the mail function in PHP. When I use the mail command in my localhost, it's great. I can modify the headers, use html tags, etc. But when I use it on my web space (1and1), the header comes back as cgi-mailer-bounces-...@perfora.net, the header info I entered, shows in the message (instead of the header)
Email "from" and "reply-to" values set in the "header" section are
probably being over-written by security setting in mail on the server.
Not unusual. Try setting these using the fifth parameter of the mail
function instead (-f for from, reply-to). The PHP install account will
need to be "trusted" by your mail program. Eg:
$to="yo*@there.com";
$subject="The subject";
$headers="";
$body="The message.";
$params="-f me@here.com";
mail($to, $subject, $body, $headers, $params);
Geoff M This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Alex |
last post by:
I'm sure that the following is possible, I just need a little help
please.
I have a object which I declare as a application object "gObj".
I need to use "gObj" with all sessions. I need...
|
by: Michael Brandt Lassen |
last post by:
Hi gurus
This problem is about calling Web services secured by Forms Authentication
from Windows Forms user controls embedded in HTML.
Using the object tag I’ve managed to include a Windows...
|
by: WindAndWaves |
last post by:
Hi Gurus
Can someone tell me how you can call a function/macro in another database???
TIA
- Nicolaas
|
by: jburris |
last post by:
I have been through enough of these threads to think that this should
be an easy fix... but, are there circumstances in which the following
code syntax does not work?
=!!.Form! (this is
out of...
|
by: Richard Mathis |
last post by:
My problem is rather complicated (for me), so I'm going to post my
problem here as well as what I've done so far to solve my problem. Any
assistance would be appreciated. I originally posted this...
|
by: Dursun |
last post by:
I need to call a subroutine in FormA from within FormB.
Let FormA be an MDIForm and let FormB be its MDIChild
form. So, the FormB.MDIParent property will return an
object refernce to the FormA...
|
by: akg |
last post by:
Hi Gurus,
I have a requirement like below. In my asp.net(C#) code behind file "MyPage.aspx.cs" file I have a function like below:
void PopulateAccount(int AccountNumber)
{
...
|
by: Mail.To.Nathaniel |
last post by:
Hi all :)
I have an-easy-to-resolve (I am sure but I am obviously unable to
figure the answer out) problem for C++ gurus.
Here's the situation I have fallen into...
2 header files: H1.h &...
|
by: cdawson2000 |
last post by:
Hello Gurus,
I have a movie that is composed of a picture and 5 buttons below it. When the user clicks button1, a lighting effect occurs, then the image is changed to image1. When the user clicks...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |