Pages: 1
RSS
Automatically Use FROM Address Upon Replying
 
Is there a way to have The Bat! use the FROM address of a received email rather than the default address?

I own a domain and receive email based on domain names (ie ritlabs@mydomain) but don't want to manually create an alias/personality for each one.

Thanks!
 
I guess you want to use the address to which the email was sent to, as a FROM address in your reply?
So that in your reply, the sender is == recipient of the original email?

If so, put something like this in your Reply template
(Account properties / Templates / Reply)

%SetHeader(FROM,"your_Name_Here <%OTOADDR>)%-
%SetHeader(REPLYTO ,%OTOADDR)%-

hope I understood the question correctly
 
Thanks, for it working, but I think you're forgetting the end quotation:

%SetHeader(FROM,"Scott M Florack <%OTOADDR>")%-

Works great, only thing I noticed that it adds two spaces in the message body at the start of the message.

If I move your code to the end of my signature, it adds two spaces between the signature and the reply.

Any suggestions?

Thanks!

 
Show your complete template, that makes it easier to deduce the origin of your extra spaces (or do you mean blank lines?)
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
%SetHeader(FROM,"Scott M Florack <%OTOADDR>")%-
%SetHeader(REPLYTO ,%OTOADDR)%-

Hello %OFromFName,

%ODateEn, %OTimeLongEn, you wrote:

%Quotes
%Cursor

-sf.

---

If I remove the line here:

%SetHeader(REPLYTO ,%OTOADDR)%-
Hello %OFromFName,

..one of the blank lines (thanks for the correction) is removed, but a single space still remains.
 
Your template wouldn't have a preceeding blank line, would it?

The SetHeader macro shouldn't add a blank line when it's followed by %-
And if it did, you should have one more of them...
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Hello,

Why do not use:

%ACCOUNT="Active account for the message"

(in Macros >>> Pre-defined fields)
 
I guess because sometimes you get mail to your account that is originally sent to a mail address that is much different than the account email. For example I have a couple of mail addresses that just forward mail to my main email account. Answering them with the address they sent the email to would be much easier and less confusing for them :)
Pages: 1