Okay
  Public Ticket #3512948
Export of contacts and email does not work, html emails
Closed

Comments

  • Stefan Stadtmann started the conversation

    Hello

    1. Export of contacts and emails does not work, there is always 0.

    2.  We want to add styles to the email to customers who filled out the form

    It is necessary to adjust the color, size of the font, also add a logo, and also a picture. Is it possible to convert the email field to support html?

    Attached files:  Знімок екрана 2023-11-01 о 20.16.07.png

  •   WebWizards replied privately
  • Stefan Stadtmann replied

    Hi Thomas

    Please send us some technical information on how this can be achieved. (2) 

    Thank you.


  • Stefan Stadtmann replied

    Hi

    1. Could you send technical information today? We want to set styles not only in the letter, but also on the Win Message, Lose Message notifications.

    2. It is also possible to create an additional tag with Coupon Amount {couponAmount}
    3. What can be done to ensure that the letter arrives not only to the client, but also to the administrator?

    Attached files:  Знімок екрана 2023-11-03 о 14.16.37.png

  •  1,906
    WebWizards replied

    Hi Stefan,

    (1) To set that into a HTML, email you would need to modify the following PHP file:

    in includes/class-wproulettewheel-database.php , the function send_coupon_email() controls the email that is sent.

    I can give you a code example from one of our other plugins: https://pastecode.io/s/i62fnyqg this sends a HTML email, there you could modify that per your needs.

    (2) This would only be possible through custom coding.


    (3) In the function at (1), you could add a second email before the mail is sent.

    You could use code such as:

    $admin_email = '[email protected]';
    $sanitized_email.= ','.$admin_email;
  • Stefan Stadtmann replied

    Thank you.