Unknown Sender
I have multiple templates across 3 projects in my account. In all cases, I am supplying a "From:" header so that I can specify the sender address. In one template, I cannot get the "From:" header to work. No matter what I do, when I receive test messages for this template I see "unknown sender" as the from address in my email client.
None of my other templates exhibit this problem. How do I fix it?
Support Staff 2 Posted by Tom Walsham on 19 Jul, 2012 05:21 PM
Hi Jonathan,
Could you please let me know which template is causing you problems, and preferably the contents of both a working and non-working API call and I'll take a look into it asap.
Thanks,
Tom
3 Posted by Jonathan Mendelson on 19 Jul, 2012 07:00 PM
Hi Tom,
The template in question is called "review_cam" and it is wiithin the
"Internal Emails" project. All other templates in that project work fine
with the [email blocked] address (BTW, I receive the "nobody" replies).
I see this problem without even doing an API call -- if I run a test on the
template (Save & Send Test Message) I see this behavior.
Does that give you enough to go on?
Best regards,
Jonathan
Support Staff 4 Posted by Tom Walsham on 20 Jul, 2012 02:40 PM
Hey Jonathan,
You had us stumped for a while there, but we've figured out what happened.
You must have saved your template with an empty 'FROM' header field, which has the effect of deleting that header. Then, when you attempted to re-add the FROM you added a colon to the header name (FROM:). We weren't correctly validating that field, so allowed you to save, but then on generation the header was being dropped as invalid.
We've fixed your template, and are applying a patch to fix this hole you uncovered.
Thanks for the feedback, and hopefully all should be okay now.
Tom
5 Posted by Jonathan Mendelson on 20 Jul, 2012 04:03 PM
Great thanks so much! So going forward, do I omit the colon or not?
Best regards,
Jonathan
Support Staff 6 Posted by Tom Walsham on 20 Jul, 2012 04:07 PM
Moving forward, it should strip the colon if you put it in, but technically you should omit it.
Thanks,
Tom