Reply
Help! for novice
Old 03-01-2005, 02:23 PM Help! for novice
elaw's Avatar
Junior Talker

Posts: 1
My first ever attempt at cgi is a simple form mailer,it works but the mail I receive has a message at the top of it.

"A message that you sent contained no recipient addresses, and therefore no
delivery could be attempted
" I think I am doing the lines below wrong.


$to = 'email@your-url.co.uk';
$from = 'nobody@your-url.co.uk';

my url is http://www.scottish-cottages.co.uk
Can you help?
elaw is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 05-02-2005, 06:16 PM
Brian07002's Avatar
Ultra Talker

Posts: 470
Name: Brian
Location: United States
you have to change 2 things.

1. on the first line you need to change
Code:
$to = 'email@your-url.co.uk';
To: email@scottish-cottages.co.uk

2. on the second line you need to change
Code:
$from = 'nobody@your-url.co.uk';
To: email@scottish-cottages.co.uk

Please note that you can change the word 'email' & 'nobody' (without quotes of course) to whatever you want as long as your hosting company re-direct all incoming mail to a default account on your domain, otherwise, change the word 'email' and 'nobody' to the name that is currently setup for your email account just make sure you leave scottish-cottages.co.uk as is, as long as that is your domain name (website).

-Brian
__________________
Brian
TMS BBS: 201-471-2205
Open Friday thru Sunday Eastern Time (US & Canada)
Brian07002 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help! for novice
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11473 seconds with 13 queries