Forums

Problem FAQ31

Kringel 25 Mar, 2009
Hi,
I'd like to create a select-box where I can select the recipient as it is already described in FAQ31.
I've created a sample form but it does not send the email to the selected person.

Are my settings correct? Any idea?

Versions: Joomla 1.5, Chronoform 3.1 RC3
Debug-Mode returns:
Form passed first SPAM check OK 
Form passed the submissions limit (if enabled) OK 
Form passed the Image verification (if enabled) OK 
Form passed the server side validation (if enabled) OK 
Form passed the plugins step (if enabled) OK 
Emails data loaded OK 
Form passed all before email code evaluation OK 
An email has been SENT successfully from (test)my@domain.com to my@domain.com
Debug End 
$_POST array: Array ( [recipients] => em1 [101aabd0790926b9286eb3c0e7687f4f] => 1 ) 

$_FILES array: Array ( ) 
GreyHead 25 Mar, 2009
Hi Kringel,

The line "An email has been SENT successfully from (test)my@domain.com to [email]my@domain.com[/email]" is a report that ChronoForms has successfuly sent an email to the Joomla Mailer code and received an 'OK' reponse back.

The most likely problems from that point on are that (a) the email is in a spam folder or (b) the email is being labelled as spam and being dropped or (c) there's a typo in one of the addresses.

To test, please:[list]
  • Check that your site has a Email setup in Global Configuration
  • Try sending an Email using the Email link in a Joomla content article and check that this is received safely
  • In Chronoforms, use a Static Email setup (no Dynamic fields)
  • Use a From Email address with a domain the same as your website like [email]admin@mysite.com[/email]
  • Use a To address that is (a) different from the From address, (b) not a hotmail, live, yahoo or aol address (they can filter mail so you never see it)
  • Add the From address to the address book for the To account
  • Send an email, check any spam or junk folders if it is not received.
  • Try two or three 'different' addresses.
  • [/list]
    Bob
    Kringel 25 Mar, 2009
    Thanks for your reply.
    I've tested all of your points.

    The email was successfully sent and I've got the email in my mailbox (1) which was configured in the to-field on the "setup emails"-tab.
    But I've selected "Name 1" in the dropdown-box of the form. So the form should also send the email to a second address which I've configured in the "On Submit Code"-section. But I did not get the mail in the second mailbox (2).

    When I look at the header of the received mail in mailbox (1), in the TO-Section there is only one address. I think there should be both adresses in the header or am I wrong?
    Kringel 25 Mar, 2009
    I've now uninstalled the RC3 and installed the V3 stable version.
    I've recreated the sample form of FAQ31 and it works perfectly🤔

    Are you sure that the solution of FAQ31 works with the new RC3?

    I put "echo $emails[0]->to" at the end of the on-submit-section. Between Stable and RC3 version there is a difference.
    In the stable version the output contains 2 mail-addresses (the one of the to-field of the email-setup and the other i've selected in the form).
    In the RC3 the output contains only the selected mail-address with a leading comma such as ",me@mydomain.com". Then I've changed the code to get the comma out of the array but the mail was not sent.
    Max_admin 25 Mar, 2009

    Are you sure that the solution of FAQ31 works with the new RC3?



    due to some core changes the code is not working as expected in RC3 but I'm working on a fix or a better solution!

    Cheers
    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    This topic is locked and no more replies can be posted.