One of the problems that i have now is that when I sent out test emails to my testers (18 in all), there is nothing in the email to make it clear this is a TEST rather than the actual mailing.
When I sent a Mailing to Test Recipients, the word "TEST: " should be added to the beginning of the subject line making it obvious that this is a test.
Currently I am manually doing this to prevent confusion about whether an email distribution actually occurred. I am worried one day I am going to forget to remove "TEST: " and send that to my subscribers.
Tim
Test emails should have TEST: prepended to Subject
Moderator: moderator
-
- Posts: 20
- Joined: Wed Jun 13, 2007 4:20 pm
-
- Posts: 20
- Joined: Wed Jun 13, 2007 4:20 pm
Exchange is overidding the envelope
Interesting. When I read your note, I checked the message envelope and sure enough, the envelope says "Testmail", see here:
To: Testmail <tim.gilbert@XXXXX.XXX>
Subject: TEST: Test Email
However, using Outlook and MS Exchange, the TO: does not say Testmail rather it has converted my smtp name to my local domain name [TGILBERT]. Perhaps that is why other vendors use the subject line.
To save me time, could you point me in the right direction for making the change myself?
Tim
To: Testmail <tim.gilbert@XXXXX.XXX>
Subject: TEST: Test Email
However, using Outlook and MS Exchange, the TO: does not say Testmail rather it has converted my smtp name to my local domain name [TGILBERT]. Perhaps that is why other vendors use the subject line.
To save me time, could you point me in the right direction for making the change myself?
Tim
-
- Posts: 20
- Joined: Wed Jun 13, 2007 4:20 pm
Well, I found the file, its MailWriterMeta.java, and I believe the change needs to be made when it creates the XML file, something like whats below in the method
public void startBlock () throws Exception {
..
..
..
..
buf.append (" </description>\n\n");
buf.append (" <general>\n");
if (data.isTestMailing())
{
buf.append(" <subject>TEST: " + xmlStr(data.subject) + "</subject>\n");
}
else
{
buf.append(" <subject>" + xmlStr(data.subject) + "</subject>\n");
}
buf.append(
" <from_email>" + xmlStr (data.from_email == null ? null : data.from_email.full) + "</from_email>\n" +
..
..
..
The only problem is that I am completely useless in Java (C/C++/C# background). I installed 'ant' an tried to setup the build.xml and EMM*properties file, but I couldn't find how to get the resin support files.
Can anyone help me compile this?
Tim
public void startBlock () throws Exception {
..
..
..
..
buf.append (" </description>\n\n");
buf.append (" <general>\n");
if (data.isTestMailing())
{
buf.append(" <subject>TEST: " + xmlStr(data.subject) + "</subject>\n");
}
else
{
buf.append(" <subject>" + xmlStr(data.subject) + "</subject>\n");
}
buf.append(
" <from_email>" + xmlStr (data.from_email == null ? null : data.from_email.full) + "</from_email>\n" +
..
..
..
The only problem is that I am completely useless in Java (C/C++/C# background). I installed 'ant' an tried to setup the build.xml and EMM*properties file, but I couldn't find how to get the resin support files.
Can anyone help me compile this?
Tim
You're at the wrong place, sorry. You should modify the method addSubject in BlockCollection.java with something like:
-- ud
Code: Select all
return data.isTestMailing() ? "TEST: " : "";