Levi
Ultimate Member
Ok... I'm finally getting round to doing my updated site (yeah yeah I know) and it's going to have a contact form, which I've managed to do...however I'd like to include an automatically generated, or replaced, reference code to go in the email header.
Ideally it would say senders email address (got this) and in the header "Image Resolutions Contact Form Ref: abc123456" or something similar unless a code has been added into one of the fields. So say the field has "newcode123" entered the header would change to
"Image Resolutions Contact Form Ref: newcode123".
Pretty sure I need to use a database file to get this working but other than that it's above my current skills so does anyone know of an easy tutorial or instructions I could follow for this please
edit: forgot - would like a copy to go to sender too
Ideally it would say senders email address (got this) and in the header "Image Resolutions Contact Form Ref: abc123456" or something similar unless a code has been added into one of the fields. So say the field has "newcode123" entered the header would change to
"Image Resolutions Contact Form Ref: newcode123".
Pretty sure I need to use a database file to get this working but other than that it's above my current skills so does anyone know of an easy tutorial or instructions I could follow for this please
edit: forgot - would like a copy to go to sender too