Gossamer Forum
Home : Products : DBMan : Customization :

Reply E-mail

Quote Reply
Reply E-mail
Hi,
Sorry if I'm posting to much, let me know if you want me to stop! This is probably a simple problem but...When I recieve the e-mails dbman sends, the from address is always me! I have added an E-mail field, but it just appears in the database file, which I recieve. Is there no way to use the information in this field as the from address?
Ben

Quote Reply
Re: Reply E-mail In reply to
Code:

Print MAIL "From: $rec{'EmailField'}";


Regards,

Eliot Lee


Quote Reply
Re: Reply E-mail In reply to
Great thanks for your help! Sorry if i'm being a pain in rear! But as i look through the cgis more & more, i'm beginning to learn and understand it more! And i'm tweaking things here & there, seeing what effect it has!
Anyway Thanks again!
Ben

P.S. You don't know how to remove the - (hyphen) from the date format do you? At the mo its 11-Oct-2000 and I need it to be 111000 format I have edited the following line under date_to_unix but then it just errors all the time with or without hypends!
my ($day, $mon, $year) = split(/-/, $_[0]); <--Was
my ($day,$mon,$year) = split(//, $_[0]); <--Changed to
But what do I change under the get_date routine? I can't see anywhere where it says about using a - to separate the date