WordPress.org

Ready to get started?Download WordPress

Forums

Jazzy Forms
[resolved] New email function (35 posts)

  1. istvan magyar
    Member
    Posted 2 years ago #

    Hi Igor,

    Thanks for the the new features.

    I can't figure out how the email button and settings work.
    What am I supposed to put in the 'from' and 'to' fields? How does a visitor fill the email form? The button seems to do nothing on my test page. It displays the success message under the button, but I don't get an email into the mailbox that I set in the 'to' field.

    Thanks in advance for the advices,

    Istvan

    http://wordpress.org/extend/plugins/jazzy-forms/

  2. jdkgray
    Member
    Posted 2 years ago #

    I'm also having troubles getting the email button to work. Also, the new version has caused my radio buttons to be positioned above the text instead of on the same line. How can I get it back to the way it was before these recent updates?

    Thanks,
    jdkgray

  3. jazzigor
    Member
    Plugin Author

    Posted 2 years ago #

    The email settings are ment to be as flexible as possible. You can insert email addresses directly in the "from" and/or "to" fields, e.g. my.name@mydomain.com or My name <my.name@mydomain.com>. This would be a good starting point in order to test Jazzy Forms' email feature.

    Usually that's not enough. You also want to be able to send out information back to the email address that the user has typed in.

    As an example, go to the form Elements section and set up two input elements with IDs name and email. Then, in the Email section, set the "to" field to {{name}} <{{email}}>. The double curly braces denote placeholders that will be replaced with the values from the corresponding form elements.

    Unfortunately with PHP when something goes wrong with email, it is quite difficult to tell why. Even if PHP indicates success this only means the data has been passed successfully to the mailing system. From there a lot of things can fail. Among these are:

    • Email might not be set up correctly in your PHP.ini settings
    • Your hosting provider may block email altogether.
    • Your hosting provider may block email from or to non-existing or unknown addresses
    • Your mail might be blocked on the way as spam
    • The message might end up in the recipient's spam folder.
    • The delivery might simply take more than you think

    ... and the list goes on...

  4. istvan magyar
    Member
    Posted 2 years ago #

    thanks Igor,

    Do you mean if I don't insert any addresses to the 'to' and 'from' fields ( I leave both empty), the plugin will automatically send an email to my default address that is set in the php.ini?
    And if I insert an address into the 'to' field, an email will be sent to my default address AND to the inserted address as well?

    Or lets take an example. I use the calculator for online quotes (calculating prices for different services). If I want the quote sent to me AND the client who used the form as well, what do I do? I set up two input fields for 'name' and 'email address', then the visitor fills these, I guess? I give these an ID, and then what do I insert into the 'to' 'from' and the 'cc' fields on the email settings tab to get the quote sent out to me and the visitor as well?

    I assume my php settings are fine, as I use other plugins that send emails and they work fine.

  5. istvan magyar
    Member
    Posted 2 years ago #

    I managed to make it send emails to one address that I enter in the 'to' field manually, but it doesn't send a copy to an email address I set up in the 'cc' field using the the user email field ID with braces. (I guess that is how it should send an email to the visitor who fills the 'your email address' field.)
    Also, until I don't insert anything in the message field, it sends the email, but as soon as I insert an ID in double curly braces like for example {{ID}}, it doesn't send the email, just displays the sending message witout displaying the success message afterwards.

  6. istvan magyar
    Member
    Posted 2 years ago #

    after testing it a bit further, I noticed that it sends the email if I insert the 'output' ID (the field with the formula) or 'input' field (text by user) but it doesn't send anything if I insert a drop down or check box ID. (I don't have radio buttons at the moment so I didn't test that)

  7. plnewton
    Member
    Posted 2 years ago #

    I have not been able to get the CC or BCC function to work either however if you format your to field like this you can still achieve a CC

    {{EmailAddress}};<mycc@email.com>

    this seems to work fine

  8. plnewton
    Member
    Posted 2 years ago #

    I also seem to be having an issue with the formatting of the body of the email

    If I enter something like this:
    Dear {{FirstName}}

    We are pleased to submit the following Quotation based on your specified requirements

    {{TotalPrice}}

    When I save it and then go back into it it seems to change the LineFeeds to this:
    Dear {{FirstName}}u000au000aWe are pleased to submit the following Quotation based on your specified requirementsu000au000a{{TotalPrice}}

    Not sure what is causing this one though, any ideas Igor??

    Cheers,

    Paul

  9. cweigand69
    Member
    Posted 2 years ago #

    Hi Igor...

    Thanks for tht email update, however, I must be doing something incorrect... I've added an email button...then go to the email tab and fill in the corresponding data. Once saved, when I go back to the email tab, all the data that I had entered is gone. And when the email button is pressed on the actual page, nothing happens...

    thanks!

  10. istvan magyar
    Member
    Posted 2 years ago #

    cweigand69, I believe the solution for your problem is simply disabling and re-enabling the plugin. That normally does the trick for me. I mean when the problem is that the plugin doesn't save what you enter. After re-enabling it, it saves again.

  11. plnewton
    Member
    Posted 2 years ago #

    there seems to be an issue with the Javascript that compiles the email message text as it puts this at the end of each line u000au000a

    I have edited the mysql database directly to create the message body and it seems to work fine so it is not the email sending itself that is the problem.

    Is it possible to add if statements in the message body?

    I have quite a few drop down boxes and these all set to true and false values of 0 & 1 so I was hoping to do something like IF(PrintOnly=1, "Print Only", "Pack & Print")

    is there any way this can be done?
    If I cannot do it this way it I am going to have to go through my entire form and change the values

    Paul

  12. cweigand69
    Member
    Posted 2 years ago #

    Thanks, istvan... that seemed to work... new issues, though. My form has 4 "Input" fields...name, address, phone and email. 3 Dropdowns with values and one "output" field. On the Email tab, when I place placeholders there that correspond with the values set for each of the fields, "name" and "address" and "output" work fine. The rest show up blank... and if Input anything in the phone number input field, the form just hangs on sending...

  13. istvan magyar
    Member
    Posted 2 years ago #

    yes, that is exactly what mine does. if I enter any placeholders into the message body (input/output fields work, but drop downs don't) it hangs on sending, and no email gets sent.
    hopefully Igor can release an update soon that solves these issues discussed above.

  14. cweigand69
    Member
    Posted 2 years ago #

    ...so trouble shooting a little... I've noticed that it's the numbers or combination of numbers and letters in one input field that is causing my form to hang.

  15. cweigand69
    Member
    Posted 2 years ago #

    ...and dropdowns are not working at all in the placeholder "message" area.

  16. Henry
    Member
    Posted 2 years ago #

    Hi Igor,
    thank you for the update!
    The IE8 compatibility issues highlighted before seem to be fixed, but the new "send mail" function does not work: it says that the email is sent successfully but nothing is really sent.
    With IE9 and Firefox it works, exept for the issues already reported by Istvan and cweigand69.

  17. akingsail
    Member
    Posted 2 years ago #

    Hi Igor,
    Firstly, brilliant plugin! There's nothing like it around. Im struggling to get it to send the form in an email to me. How do I do this? See my form on

    Basically this is an order form which customers fill in and send to us.

    Thanks!

  18. istvan magyar
    Member
    Posted 2 years ago #

    Hi Igor,

    May I ask, are you working on the email fix? Any date in mind when we can expect the email issue fixed? It is a bit frustrating to see this excellent plugin to be offline, as I cant make my forms public till there is no working email function, many thanks.

  19. akingsail
    Member
    Posted 2 years ago #

    I need to know if an email fix is coming too please. Thanks!

  20. redactie
    Member
    Posted 2 years ago #

    hi Igor

    After the update i get the message wrong formulas and now i see nothing at all I deinstall and install but nothing is happen
    On a new site theirs nothing wrong so something in the html is the cause of this. Can you help?

  21. ClubUgly
    Member
    Posted 2 years ago #

    Igor needs to include some sample data for this plugin. That would clear a lot of things up especially when he's MIA now.

  22. plnewton
    Member
    Posted 2 years ago #

    I still seem to be getting this after each line feed when I save an email template

    u000au000a

    Anyone else having this problem?
    it was the same in the previous version and I had hoped it was going to be fixed but still the same

  23. istvan magyar
    Member
    Posted 2 years ago #

    Thanks again Igor for keeping up the good work on this plugin.

    It seems sending some data from the form fields works now, however the data it sends is not the elements' option titles but the values. these don't make sense to the client as these are only numbers the form works with, what we need is the element's option title so the client sees the options he/she chose. (they make not much sense to me either but I can figure out if I really want, but the need to do that doesn't make much sense either)

    I can get an email sent to the email address that is entered into the email field of the form by the visitor, however what they see is:

    1. they receive an email with no subject (empty)
    2. sender is 'Wordpress' (from my email address)
    3. in the email body it says the sender is themselves

    They basically receive the same email as me, so there is a huge confusion who sends email to whom and where from, I don't want to receive an email from myself and they don't want either, I want an email from the client, from the email address they enter and I want them to receive an email from me.

    I may have not been able to figure out how to set the 'from' 'to' and 'cc' fields and what to put there, If someone could help me I would be grateful, its just three fields after all, if something can be put there to make it right, it must be very simple, I have just no idea what...

    But the content of the email is problematic anyway because its nonsense numbers the client sees, not options they chose.

  24. plnewton
    Member
    Posted 2 years ago #

    Hi Istvan,

    I have the from field set to this and it seems to work fine
    MyName <email@email.com>

    when I send an email it displays just fine in an email client

    Cheers

  25. istvan magyar
    Member
    Posted 2 years ago #

    Paul,

    What should I change to match my email details? Or do you mean exactly how you wrote it?
    Like if my name is Average Admin and my email is contact@myowndomain.com, what do I put in the field?

  26. istvan magyar
    Member
    Posted 2 years ago #

    ok, I have set the from field as:

    Average Admin <contact@mydomain.com>

    and it does work, the client sees the email as sent from Average Admin, so that is cool.
    now, I receive the email as sent from mysef to my admin email too. although in the cc field I see the client's email address which is good basically...

    but there is no subject, which makes it look like a spam email.

    and again, the details in the email don't make sense at all to the visitor/client.

  27. plnewton
    Member
    Posted 2 years ago #

    That would be:
    Average Admin <contact@myowndomain.com>

    That needs to to entered into the from field

  28. plnewton
    Member
    Posted 2 years ago #

    I am having lots of trouble with the body also, the only way I can get it to work is to type directly into the mysql data table via phpmyadmin

    I am not having any trouble with the subject line though, what have you entered in there?

  29. istvan magyar
    Member
    Posted 2 years ago #

    oops. nothing :) stupid me. :( :) I was so busy trying to figure out the fields above it, that I didn't really learn that it was there. thanks :)

    did you accomplish something by editing the tables? I think the main thing in the way now is the content of the email, obviously we need the option field titles not the values, those are just numbers the form calculates with and there is no connection from the client's point of view between the option's name and the mathematical value used for the formula.

  30. plnewton
    Member
    Posted 2 years ago #

    Well I still have some work to do as I am also hoping the there is going to be a way to list the description on the quote rather than the value, so have not got it displaying much at all but yes sadly the only way i can get it to work is by entering it direct into the table

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic