Search

Hey!

I'm having this issue after creating an Event. I have the form below and when I hit send I get a Recipient Not Found error.. whatever email I put on the recipient email field (even the "from" email that is registered in symphony). My intention is to send myself an email with the sender taken from the "email" form field.

Is this supposed to not be possible?

Thank you!

<form method="post" action="{$current-url}/" enctype="multipart/form-data">
            <ul class="form-style-1">
            <input name="MAX_FILE_SIZE" type="hidden" value="5242880" />
            <li>
            <label>Name</label>
                <input name="fields[name]" type="text" />
            </li><li>
            <label>E-mail</label>
                <input name="fields[email]" type="text" />
            </li><li>
            <label>Phone</label>
                <input name="fields[phone]" type="text" />
            </li><li>
            <label>Message</label>
                <textarea name="fields[message]" rows="4" cols="50"></textarea>
            </li>

            <input name="send-email[sender-email]" value="info@artistmediaagency.com" type="hidden" />
            <input name="send-email[sender-name]" value="WCIB" type="hidden" />
            <input name="send-email[reply-to-email]" value="fields[email]" type="hidden" />
            <input name="send-email[reply-to-name]" value="fields[name]" type="hidden" />
            <input name="send-email[subject]" value="Message from WCIB website" type="hidden" />
            <input name="send-email[body]" value="fields[message]" type="hidden" />
            <input name="send-email[recipient]" value="MY_EMAIL" type="hidden" />

            <input name="action[create-subscriber]" type="submit" value="Submit" />
            </li>
            </ul>
        </form>

alt text

As the event documentation says:

send-email[recipient] // list of comma-separated author usernames.

This means: It only accepts Symphony author usernames.

If you need anything more than that, you should use the Email Template Manager extension.

Thank you!! That was it, I didn't realise it was usernames it was asking for :) works well now, thanks a mil!

You're welcome!

BTW, the reason why Symphhony only accepts valid usernames is: We don't want that somebody can "DOM hack" the source code (i.e. use the same HTML source code with a different recipient address) in order to send spam from your website.

I see, yeah makes sense! :)

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details