Ok this should be very simple. First I would like to say that I put this here because I didn't see any outlook forum, so I know I put it in excel when it is not but I know people here would know the answer.
I want to set up vbscript code in outlook form that when the send button is hit, a msgbox appears asking "are you sure you want to send from this account? (email@example.com).?"
I don't know vbscript well but I figured out how to get it to pop up the msgbox and ask the question, and I figured out how to make it not send if No is clicked. The question is, how do I put in the account name into there? I don't know how to call it. Basically, there are 10 e-mail accounts set up in outlook, and if I send a message that is supposed to go from one account, and I used the default by mistake, I want to have that warning before I actually mail out the e-mail. I want to be able to see what account it is sending from so I can choose yes or no if I want to still send or to cancel the send and change the account name. Anyone know?????