Mail trouble
You need to be logged in to post messages in the forums. New users may register here.
Pål Messenlien
Member since: 09 January 2008
Posts: 5
|
Monday 12 January 2009 4:09:42 pm
Im trying to add some functions to the survey mail. My trouble are that the mail received in gmail stacks every sent survey. This is no good. I also want the mail to add the mail address and from name of the sender. Another problem is that the survey name don't add to the subject in a mail. It only says Filled Survey at the moment.
Tried several things tonight, and this is the code i am at now.
--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------
|
|
Bjørn Reiten
Member since: 22 February 2008
Posts: 35
|
Tuesday 13 January 2009 12:29:47 am
I think the mail problem may be because of that the reference headers are not set in eZ Survey .. and therefore just handled by the standard eZMail classes in eZ Publish itself.
Your template code looks like a good way to solve this. So the only thing left is to receive the variables you're setting in the PHP code as well. This is done in the eZSurvey datatype itself (ezsurveytype.php).
Cheers, Bjørn
|
|
Pål Messenlien
Member since: 09 January 2008
Posts: 5
|
Friday 16 January 2009 1:56:41 am
Thanks, got it solved by changing the datatype file
--------------------------------------------
Høgskolen i Lillehammer
Lillehammer University College
http://www.hil.no
--------------------------------------------
Messenlien IT
http://messenlien.com
-------------------------------------------
|
|
You need to be logged in to post messages in the forums. New users may register here.