?
Solved

Future Mail

Posted on 2003-02-20
7
Medium Priority
?
201 Views
Last Modified: 2013-12-18
I read the response from DButler to use the command "Select Mail message action and copy copy(or type in) the To, Subject and body."

Instead of "Select Mail Message", I used the command "Send Mail".  This works just fine.

But question is this:  How do I get the agent to keep a record of the mail that has been sent?  (it doesn't show up in the Sent Folder).

Thanks.

0
Comment
Question by:oreilm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 7

Expert Comment

by:scottrma
ID: 7989844
I am not sure what the reference that DButler gave you was, so this may be out of context, but perhaps if it was a LotusScript agent, add something like:

Call memo.Save(True,False)

at the end.

Regards,

Scott
0
 

Author Comment

by:oreilm
ID: 8003775
Thanks for response Scott.  When adding that Call memo.Save(True,False) at the end, I received the error message: AN OPERATOR OR SIMICOLON WAS EXPECTED BUT NONE FOUND 'memo.save'.

What I'm trying to do is copy a draft into a special folder and then send that draft at a future scheduled time.  After the draft is sent it should somehow be converted to a Sent Memo moved to my "sent" folder.  The draft should disappear from the special folder and the draft folder.

What I have succeeded in doing is getting the draft sent but it still remains as a draft in the special and draft folders after it is sent.


Thanks,
Monique
0
 
LVL 7

Expert Comment

by:scottrma
ID: 8011694
Sounds like your agent (?) uses formula language rather than LotusScript. To get the mail to be saved, add a SaveOptions field with value "1":

FIELD SaveOptions := "1";

before the line that sends the mail. If it still doesn't move the mail from the Drafts view to the Sent view, then add a PostedDate field to the document:

FIELD PostedDate := @Now;

before the line that sends the mail. If that still doesn't work, then please post the complete agent code here so that we can inspect it. Thanks.

Regards,

Scott
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:oreilm
ID: 8025562
Scott, this worked great!! The document was added to the Sent View (I then added "remove from folder" to get it out of the special folder).

Only one more question.  When viewing it in the Sent view, the date shows up literally as @Now.  Am I getting too picky in asking for a way for it to display the actual sent date?

Thanks a bzillion for your help.

Monique
0
 

Author Comment

by:oreilm
ID: 8028057
Please pardon my ignorance (and tenacity).  Using the free-form formula method instead of the Lotus pre-set scripts, I was able to get this to work smoothly. I've sent some snap-shots via return e-mail in case my description isn't clear.  No way would I have figured this stuff out without your help (I was near to pounding my head on the desk.

THANKS!!
0
 
LVL 7

Accepted Solution

by:
scottrma earned 100 total points
ID: 8029346
Hi Monique,

Glad to hear you got it working. I was busy until just now and did not have time to check your earlier comment. If you feel I have been helpful, please click the "Accept comment as answer" link on any of my comments. Thanks.

Regards,

Scott
0
 

Author Comment

by:oreilm
ID: 8033178
He was Super Helpful.  Can I keep him?  (j/k)  

THANKS!!!
:-D
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question