Forums

Email not sending (no obvious cause)

amcnaughton 04 Oct, 2007
The debug mode for my form gives me (where XX replace a valid email address):

_POST: Array ( [cid] => 008 [name] => ALLAN [email] => XX@nc.rr.com [phone] => 363-0239 [date] => 3/3/3 [ship_to] => sk [special_ins] => )
Case 1: Use table layout
E-mail: 'Yes' custom
Email not sent
E-mail message

From: []
To: XX@ditybeads.com,
Subject:
Consultant ID 	008
Name 	ALLAN
Email 	XX@nc.rr.com
Phone 	363-0239
Party Date 	3/3/3
Shipping Address 	sk
Special Instructions 	


See attached image for how this are setup.

Thanks for your help.

Post edited by: amcnaughton, at: 2007/10/04 19:54<br><br>Post edited by: amcnaughton, at: 2007/10/04 19:55
Max_admin 04 Oct, 2007
Hi Allan,

You don't have a "subject" ? its necessary !!🙂

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
amcnaughton 04 Oct, 2007
Yes, I know a subject is needed. Please see the image of how my form is configured (it does have a subject).

Thanks,
Allan
GreyHead 05 Oct, 2007
Hi Allan,

That all looks good (though it's a bit small for my eyes). If the subject is there but isn't showing up on the e-mail in debug then I guess something is overwriting it. Do you have anything on the Special Fields tab? An entry there would overwite the default I think.

I notice that the From field in debug is showing '[]' too instead of the value on your tab. Looks like the From Name and address are being lost too - that will also prevent the email being sent.

Bob
amcnaughton 05 Oct, 2007
Here is the Special Fields tab. Everything looks right yet the form still doesn't work. I am able to successful send emails from other pages on my site.

Allan
GreyHead 05 Oct, 2007
Hi Allan,

Aha, that explains it, these entries have to be valid 'form field names' - they are used to take input from the form and use it in the e-mail. If you clear all of these then I think all will be well.

Bob
amcnaughton 05 Oct, 2007
The form worked after I cleared the above fields. What is the difference between Special Fields and General Fields when they have the same name? Any ideas what went wrong?
GreyHead 05 Oct, 2007
Hi Allan,

Yes, the General tab fields take content like [email]'user@example.com[/email]' (the values are always the same) and the Special Fields tab fields take field 'names' from your Form like 'email' and put the value of that field into the e-mail (the values change with the form input).

Think that you use the Special Fields to gather data from the person completing the form. That way you can use their name and e-mail address to send them a copy of the form e-mail.

Bob
This topic is locked and no more replies can be posted.