PDA

View Full Version : Formmail, PHP mail, SMTP... All fail...


Squeek
02-25-2008, 04:49 PM
Hey all,

Here is the conversation I had with support.
Maybe someone of you guys can help.
Why has it become so difficult just to send some formdata to a client ???


Greets and thnx 4 any reply!

Ronald

Question:
--------------------------------------------------------------------------------
Email Setup / Help :: Sendmail Problems (FormMail)

Hello, I use the file /cgi-bin/FormMail.pl for sending emails from forms located on my domain (folder /daemencontact).
Every once in a while my client complains that feedback send from these pages is not received. This client is a lawyer so I would really be sure that I use the right way to send these emails to him (domain daemen.nl) .
I tried the script /cgi-sys/FormMail.pl nbut I can\'t find a way to configure it so that it accepts daemen.nl as a receiving domain name.
What can you recommend?

Thank you.

Ronald.
--------------------------------------------------------------------------------
On 2008-02-17 at 15:29:57, Support wrote:
--------------------------------------------------------------------------------
Hello,

One thing you can try is to use an SMTP connection as opposed to the local mail function. With the local mail function mail can sometimes be delayed or lost in the mail queue.

Alex
HostRocket Support
Please Rate This Response At: http://ticketfeedback.hostrocket.com
Broadband Phone Service by HostRocket - http://www.viatalk.com
--------------------------------------------------------------------------------
On 2008-02-20 at 12:55:08, you wrote:
--------------------------------------------------------------------------------
Hello, thank you for the answer.

Now let me ask you if you have the PEAR - smtp packapge
installed on Hostrocket. I tried the following script:

http://www.erased...

and it couldn't find the mail.php, see the error message it
generates.

Is there any other way to use SMTP in scripts?

Ronald.


Warning: main(Mail.php) [function.main]: failed to open
stream: No such file or directory
on line 2

Fatal error: main() [function.require]: Failed opening
required 'Mail.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php')
on line 2

--------------------------------------------------------------------------------
On 2008-02-21 at 13:43:05, Support wrote:
--------------------------------------------------------------------------------
Hi Ronald,

Pear packages are installed upon request. I went
ahead and installed the Mail package for you. Your
script now appears to be working...try replacing
mail.example.com with mail.hrnoc.net (an SMTP
server which will accept mail generated by scripts
running on your account...no authentication req'd)
and let me know if you have any problems.

-Don
HostRocket Support
Please Rate This Response At: http://ticketfeedback.hostrocket.com
Broadband Phone Service by HostRocket - http://www.viatalk.com
--------------------------------------------------------------------------------
On 2008-02-25 at 13:05:47, you wrote:
--------------------------------------------------------------------------------
Thank you for the install. Wile testing te script, I
sometimes hae to wait very, very long untill the scripts
runs... All my browser shows in the status bar is: waiting
for squeekdesign.com...
The script mostly runs ok, but when testing it, it also
may come up with the error: Failed to send data [SMTP:
Invalid response code received from server (code: 451,
response: Temporary local problem - please try later)]

The script is set to try again after 5 seconds, and trying
5 times.

script:
http://www.xxx.sendform.php

called from:
http://www.squeekdesign.com/daemencontact/daemenadvocaten/m
ainphp.htm

Is this indeed a local error on your side or is it
something I did?

Thank you...

--------------------------------------------------------------------------------
On 2008-02-25 at 14:05:15, you wrote:
--------------------------------------------------------------------------------
The fact that the error msg says "Please try later" is the
most disturbing thing about this, plus the fact that I
have to wait several minutes for every test to give
results. I would really like to solve this problem today.
This is my lawyers website, he is asking me why his form-
mails are not delivered for weeks now. I don't want to get
in trouble... Please help, can we chat? Can I call you
from Holland?

Ronald.



--------------------------------------------------------------------------------
On 2008-02-25 at 15:47:24, you wrote:
--------------------------------------------------------------------------------
Ok, now I tried the normal PHP mail-function again. But I
guess there seems to be a list somewhere where recipients
are filtered. the script seems to sent the mail
successfully, but no email is received by certain
recipeints.
I can sent an email to my own domain (squeekdesign.com),
and to my gmail-account. But other domains like @home.nl,
@shamanshome.com (also on HR!!!) and daemen.nl (my lawyer)
are unreachable! I guess even editing the Formmail.php
script by adding recipients and using this again will not
change this. And the Formmail.pl in the cgi-sys is
unreachable for editing recipients.
All I want is to sent the formdata to
daemendvocaten@demen.nl , sent a BCC to
info@squeekdesign.com and sent a confirmation mail to the
websites visitor.
I`m giving up all attempts now, maybe there is a very
simple thing I`m overlooking here, please excuse me in
that case.

Ronald Jonker