473,738 Members | 8,848 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Please help!! mail() problems

I am having lots of trouble with the mail function!

I simply send a confirmation email to someone who has registered on my
site - but thte message usually gets filtered or sent to the bulk mail
folder.

Can someone tell me what type of content I should put in the email to get
around the filter? All my content is so far is a thanks for registering
message - and a link for them to confirm their email address.

Please help!
Jul 17 '05 #1
5 1732
Hi Jack,

On Wed, 10 Mar 2004 15:03:17 -0500, "Jack Smash"
<so*****@somewe bsite.com> wrote:
I am having lots of trouble with the mail function!

I simply send a confirmation email to someone who has registered on my
site - but thte message usually gets filtered or sent to the bulk mail
folder.

Can someone tell me what type of content I should put in the email to get
around the filter? All my content is so far is a thanks for registering
message - and a link for them to confirm their email address.


Personalise it, like using their name or username in the email and
maybe what IP they submitted it from.

Please note that some people (the author of that Bayesian Spam
filtering) define Spam as "unsolicite d and automated", so if you send
a confirmation to a user, that is not necessary, offer him a way to
turn it off.

HTH, Jochen
--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #2
> I am having lots of trouble with the mail function!

I simply send a confirmation email to someone who has registered on my
site - but thte message usually gets filtered or sent to the bulk mail
folder.

Can someone tell me what type of content I should put in the email to get
around the filter? All my content is so far is a thanks for registering
message - and a link for them to confirm their email address.


Ensure you are defining the headers. some spam filters will treat emails
with out the correct headers as spam.
Jul 17 '05 #3
Hello,

On 03/10/2004 05:03 PM, Jack Smash wrote:
I am having lots of trouble with the mail function!

I simply send a confirmation email to someone who has registered on my
site - but thte message usually gets filtered or sent to the bulk mail
folder.

Can someone tell me what type of content I should put in the email to get
around the filter? All my content is so far is a thanks for registering
message - and a link for them to confirm their email address.


It is possible that the mail function is sending a malformed message to
recipient SMTP address.

In that case you may want to try this class that comes with a wrapper
function named smtp_mail(). It emulates the mail() function but it
assures that the messages are well formed. It also lets you send
messages via direct delivery like sendmail program, so not relaying in
an intermediate server. This way, if the end SMTP server rejects the
messages you can see the reason in the SMTP dialog that is outputted in
debug mode.

It is possible that you have DNS problems and so this will let you track
them.
http://www.phpclasses.org/mimemessage

You also need this.

http://www.phpclasses.org/smtpclass
--

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
Jul 17 '05 #4
"Jack Smash" <so*****@somewe bsite.com> wrote in message news:<jz******* *********@read1 .cgocable.net>. ..
I am having lots of trouble with the mail function!

I simply send a confirmation email to someone who has registered on my
site - but thte message usually gets filtered or sent to the bulk mail
folder.


AFAIK, this is a common problem with rigid spam filters like Hotmail
and frequently discussed topic among PHP programmers. Most of the PHP
programmers (IMHO) handle this situation by using PHPMailer
<http://phpmailer.sourc eforge.net/> class; it seems to work all the
time.

--
"I don't believe in the God who doesn't give me food, but shows me
heaven!"--Swami Vivekanandha
Email: rrjanbiah-at-Y!com
Jul 17 '05 #5
Thanks everyone for your kind responses! I will try them out and let you
know how it goes.

Thanks again!
"R. Rajesh Jeba Anbiah" <ng**********@r ediffmail.com> wrote in message
news:ab******** *************** ***@posting.goo gle.com...
"Jack Smash" <so*****@somewe bsite.com> wrote in message

news:<jz******* *********@read1 .cgocable.net>. ..
I am having lots of trouble with the mail function!

I simply send a confirmation email to someone who has registered on my
site - but thte message usually gets filtered or sent to the bulk mail
folder.


AFAIK, this is a common problem with rigid spam filters like Hotmail
and frequently discussed topic among PHP programmers. Most of the PHP
programmers (IMHO) handle this situation by using PHPMailer
<http://phpmailer.sourc eforge.net/> class; it seems to work all the
time.

--
"I don't believe in the God who doesn't give me food, but shows me
heaven!"--Swami Vivekanandha
Email: rrjanbiah-at-Y!com

Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2282
by: Jerry | last post by:
Hi People ! I have an Urgent Problem and greatly appreciate your help: My script sends multipart emails using the MAIL_MIME package from pear.php.net Works great so far but..... ....Sometimes (depending on the mail server that handles the mailing) all quotation marks in an HTML body of a multipart message become escaped.
2
1471
by: cpptutor2000 | last post by:
Could some C++ guru please help me? I am using a BigInteger class which is really a wrapper around a C source file(mpi.c) that does arbitrary precision arithmetic operations. When I compile the C file using gcc -g -o mpi mpi.c rng.c -lm there are NO compilation or linking errors. However, when I try to compile the C++ wrapper class using g++ -g -o bigint bigint.C mpi.c rng.c -lm, I get strange linkage problems that all the functions in...
5
2537
by: Sona | last post by:
I understand the problem I'm having but am not sure how to fix it. My code passes two char* to a function which reads in some strings from a file and copies the contents into the two char*s. Now when my function returns, the values stored in the char* are some garbage values (perhaps because I didn't allocate any memory for them).. but even if I allocate memory in the function, on the return of this function I see garbage.. here is my...
0
1207
by: Bennett F. Dill | last post by:
Thanks for reading. I'm having problems with cookies from asp to asp.net and back! It seems like I can set a cookie in asp.net fine, and alter it at will, as soon as asp touches it, asp.net won't have anything to do with it. Can someone please help! The code below, going from aspx to aspx, works great the cookie as expected goes from qwerty to zxcvb and back. As soon as you hit the asp page, the cookie goes to asdfg and stays there...
5
1428
by: Irfan Akram | last post by:
Hi People, I am tryint to use the facilities of System.Web.Mail in order to implement an email sending facility in my web-based application. I get this error. An error occurred: System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---
1
264
by: ravinderrawat85 | last post by:
I have installed "MIcrosoft Visual studio.net 2003" on XP platform,used it for a month but now I'm facing the following problems: 1. my system shuts down whem i m using MSDN or any other .net framework utilities like .net command prompt etc. 2. The folder option(hide/view hidden files) in the TOOLS option has also dissapeared. 3. The IIS server has stopped,and can't be restarted.
3
1963
by: shror | last post by:
I was testing to post a form and echo message according to the submitted box using else if and then mail() the box result to myself just for testing the procedure but i got some problems: 1# the text box value is not echoed to my result page 2# also the mail doesn't send me the text box value 3# the address bar view that the value entered was the correct value i entered so please help me the 111.htm form code is:
8
6734
by: kpdeepu | last post by:
Hi all, I am a complete newbie to ASP and am trying to send email from my gmail account to another gmail ID. Is it possible? I have my computer with no mail server installed. i have IIS installed and working. i have used the following code. I am getting the error.. CDO.Message.1 (0x80040213) The transport failed to connect to the server. the error is throwing at '.Send' line. the actual mail IDs given in from and to are real and...
2
3002
by: Ecot | last post by:
Hi all, I have not got any php knowledge and I have found a php code on the net and using it to send e-mail from a web html form.So far the form and the code works fine. I have the following php code for a contact form and i would like to add a simple Html thank you page when user submits the form. Here is the code; <?php if(isset($_POST)) { $to = "email@e-mail.com"; $subject = "Test Message";
0
9476
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9335
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9263
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6751
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.