razor - Webmatrix email send function -
i understand how post details in form send email, hoping on creating sort of function/job instead.
how create razor function this:
// send email webmail.send(to: customeremail, subject: "your property added", body: "blah blah blah" );
is function best way accomplish this? i'm trying create reusable code.
i'll need able trigger in "if" statement
thanks, gavin
you create wrapper function (façade) around webmail class since webmail class façade around system.net.mail, there seems little point, in opinion.
function razor webmatrix
No comments:
Post a Comment