Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Problems with From: in cgi Form

0 views
Skip to first unread message
Message has been deleted
Message has been deleted

Mark Hansen

unread,
Oct 30, 2009, 1:38:01 PM10/30/09
to
On 10/30/09 10:03, Marek wrote:
>
> Hello all!
>
>
> I am afraid, asking a faq here. But I cannot sort it out alone.
>
> I have set up a simple cgi, to test sendmail for a more complicate
> form here:
>
> http://www.grandtaxi.com/cgi-bin/mailme_einfach.cgi
>
> The first and last name are captured in this form and set to the
> variable $name. The email is set to $email
>
> The command for sendmail is: $mailprog = '/usr/sbin/sendmail -t -i';
>
> Later I set the $from = "$name ($email)";

In addition to my other response, I meant to mention that I'm not
familiar with the way you're formatting your From: address, where
you are using parentheses around the e-mail address.

I've always used the form:

Name <e-mail address>

Such as:

Mark Hansen <m...@NOSPAMwinfirst.com>

and I wonder of the way you're doing it is causing some of your problem.

Best Regards.

Marek

unread,
Oct 30, 2009, 5:45:16 PM10/30/09
to
On 30 Okt., 18:38, Mark Hansen <m...@NOSPAMwinfirst.com> wrote:

>
> In addition to my other response, I meant to mention that I'm not
> familiar with the way you're formatting your From: address, where
> you are using parentheses around the e-mail address.
>
> I've always used the form:
>
>   Name <e-mail address>
>
> Such as:
>
>   Mark Hansen <m...@NOSPAMwinfirst.com>
>
> and I wonder of the way you're doing it is causing some of your problem.
>
> Best Regards.


Wow! The answer was as simple as this? Thank you Mark Hansen, it is
working now! But I was quite sure, I tried this too, to put the <email
address> like that.


Greetings from Munich

marek

0 new messages