Welcome Guest, Not a member yet? Register   Sign In
Email Code Placement or Location
#1

[eluser]cjke[/eluser]
Hi,

Just writing up the code for the part of the site that will automatically shoot off an email to the user. It will be a html email (with a fallback text version) and is quite lengthy.

A controller is organizing the data for the email (database data, like user name, etc) but the content of the email is quite large and doesn't seem right to put it in the controller itself, it seems more like a view.

Should the content of the email be in the controller or the view? or something else?


Messages In This Thread
Email Code Placement or Location - by El Forum - 02-14-2011, 09:53 PM
Email Code Placement or Location - by El Forum - 02-14-2011, 10:17 PM
Email Code Placement or Location - by El Forum - 02-14-2011, 10:42 PM
Email Code Placement or Location - by El Forum - 02-14-2011, 11:12 PM
Email Code Placement or Location - by El Forum - 02-14-2011, 11:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB