Add time stamp to subject line

steverahks 16 Nov, 2012
How can I add a time stamp to the subject line of the e-mail being sent from a form submission?

I am running into issues with e-mail providers like g-mail that group email according to the subject line. I need to be able to make each subject line different.

Thanks
GreyHead 16 Nov, 2012
Hi tjhaas,

Please see this FAQ, it talks about using data from the form but you can add any code you like in there including a date or date+time.

Bob
steverahks 19 Nov, 2012
Hello,

If I read the FAQ correctly and did it correctly, why isn't it working? Two screen shots attached.

Thanks
GreyHead 20 Nov, 2012
Hi tjhaas,

You need to use the Subject box on the Dynamic tab and the whole string needs to be in the variable. So it would be
<input type='hidden' name='input_recordtime' id='input_recordtime' value='Quick Quote Request <?php echo date('Y-m-d H:i:s'); ?>' /> 
then put input_recordtime with no quotes or brackets in the Dynamic Subject box.

Bob

PS I'd probably do it using a Custom Code action in the On Submit event so save adding the hidden input. I think that's what is in the FAQ.
This topic is locked and no more replies can be posted.