Subject: amend mail template
Hi, we have just been through this process and its hard to avoid some issues. Obviously you can tell your users how to strip out the domai and re-send if they get a mail failure. We also amended the mail template strip out the domain - this is the code we used:
Open your mail template in Designer
Click on Forms and double click on Reply form to open it
Click on the field InheritedSendTo (on second line of red hidden fields) - it should look like this:
Delete all the code shown above (from @if
(@ClientType="Notes"........etc down to SendTo:CopyTo
)
Copy and paste this code in instead:
@If
(@ClientType="Notes";
@If
(@IsDocBeingMailed | (@IsDocBeingSaved & @IsAvailable(PostedDate));
@Unavailable;
@If
(@IsNewDoc & @IsDocBeingLoaded;
@Unique(@ReplaceSubstring( SendTo: CopyTo;"@WINET":"@CLNET":"@WVC":"@SVNET":"@HQNET":"@LGENET";"")) : @If
(
(@Name([Abbreviate];From)!=@Name([Abbreviate];Principal) & Principal != "");
From;
"")
;InheritedSendTo)
);
SendTo:CopyTo
)
Then click on the InheritedFrom field
and do exactly the same - ie delete existing code and paste in the following code:
Who := @If
(@IsAvailable(Principal) & Principal != "";
Principal;
@IsAvailable(From);
From;
@Author
);
@ReplaceSubstring(
@If
(@IsAvailable(FromDomain);
Who + "@" + FromDomain;
Who
)
;“@WINET”:“@CLNET”:“@WVC”:“@SVNET”:“@HQNET”:“@LGENET”;“”:“”:“”:“”:“”:“”)
Close the form and save it
Open the Reply With History form and repeat all the above steps for the same 2 fields, then save and close
If you use more than one mail template , repeat all steps above on each template
WE still had some odd issues with re-schedulking old calender events, Hope this helps