Hi
I’m writing an agent to notify users who send to our old domain, that they should write to our new domain, the message is delivered to the users mail files where the agent kick in.
I have figured out the code to write a generic message, but can I extract the users mail address before the @ and then use it in my code so that the message could be something like:
You have mailed to (user)@olddomain.com. This email-address has been changed to (user)@newdomain.com
Hope someone can help me.
Subject: Agent to notify about new domain
Lotusscript og @formula ?
@leftback(emailaddressfield, “@”)
or
STRLeft(emailaddressfield, “@”)
Subject: RE: Agent to notify about new domain
Hi
I use script, but what if the mail is sent to many people in your domain, how will the agent determine your mail address?
Subject: RE: Agent to notify about new domain
hmmm… dunno. What would you like it to do ?
It might be possible to gather all email adresses but is that what you want or would you rather use the first one?
Subject: RE: Agent to notify about new domain
I would like it to get the mail address to whom it was sent and then reply to the sender with the new mail address.