Lunarpages Web Hosting Forum

Author Topic: NMS FormMail great in IE and Firefox, but giving errors in Safari  (Read 7900 times)

Offline miloshapiro

  • Newbie
  • *
  • Posts: 1
A potential client called me today and said that the reason he was calling was that he was getting error messages when he tried to use my FormMail form.
I immediately tested it and it worked fine.
He retested it and it failed again with the message below.
I even tried it on my phone and it worked fine there too.

Then I remembered he was on a Mac.
I thought, “Could he be on Safari and that’s the issue?”
I do have Safari so I tried it and sure enough, I got the error i'm pasting below!
No problem with IE or Firefox…just Safari.

I've got so many forms on FormMail now…need to make sure this works! Too many Safari users out there!

I'm also pasting the section of my FormMail that shows the @referrers...just to show that i DO my website there.
And if I didn't, it wouldn't have worked on IE and Firefox. The only thing I changed below was my email addresses, for privacy.

Thanks so much for your advice!

     The form attempting to use this script resides at, which is not allowed to access this program.
      If you are attempting to configure FormMail to run with this form, you need to add the following to @referers, explained in detail in the README file.
      Add '' to your @referers array.

$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 5;
$encryptuser = '';
$encryptprog = '';
$mailprog = '/usr/sbin/sendmail -oi -t';
$postmaster = '';
@referers = qw(,;
@allow_mail_to = qw(;
@recipients = ();
%recipient_alias = (1 => qw(;
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = '/css/nms.css';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$address_style = 0;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
« Last Edit: April 19, 2012, 03:51:47 PM by miloshapiro »

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6421
Re: NMS FormMail great in IE and Firefox, but giving errors in Safari
« Reply #1 on: April 19, 2012, 04:58:19 PM »
Try taking the , out of the qw() list. Why that would make a difference only with Safari I don't know, but it's worth a shot because it is an error. A qw() list is blank-separated. Whether or not that works, take the out -- I doubt it's needed.
Visit My Site

E-mail Me
-= From the ashes shall rise a sooty tern =-