0

I'm new to Expression Engine and trying to use the {encode} for two email addresses and would also like to pass a Subject line to the email when the user clicks on the link.

I was looking at the user guide for the encode standard global variable:

{encode="you@example.com" title="Email Me!"}

Could someone please provide an example of how to use the encode to include two email addresses as well as pass a Subject line?

halfer
  • 19,824
  • 17
  • 99
  • 186
tonyf
  • 34,479
  • 49
  • 157
  • 246

1 Answers1

0

You cannot pass more than one email addresses to the EE email encode function, nor set the subject line.

Derek Hogue
  • 4,589
  • 1
  • 15
  • 27
  • Thanks for that. Could you then perhaps let me know how I could use the encode function like a mailto call as I would like to also pass the subject to the email? If not encode, how else could I perform a mailto call within EE? Thanks. – tonyf Apr 10 '12 at 14:21
  • Just with the usual HTML syntax should work: `Send an email`. The support for that "subject" syntax will be limited by email client though. – Derek Hogue Apr 10 '12 at 21:45