Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: SAVE THE MULTIPLE EMAILS Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
KLINT
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 21 October 2005 at 11:57pm | IP Logged Quote KLINT

HI
   THIS IS KLINT
HOW TO SAVE THE MULTIPLE EMAILS USING MAILBEE
Back to Top View KLINT's Profile Search for other posts by KLINT
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 22 October 2005 at 9:44am | IP Logged Quote Alex

You can save them in a loop. For example, if have Messages collection which was created by POP3.RetrieveMessages method, you can use the code below:
Code:

...
Set Messages = POP3.RetrieveMessages
For I = 1 To Messages.Count
  Messages(I).SaveMessage "msg" & I & ".eml"
Next


If you send multiple mails with SMTP object and want to save them after sending, you can also use the code like below:

Code:

...
' Send 10 mails
For I = 1 To 10
  ...
  SMTP.Send
  SMTP.Message.SaveMessage "msg" & I & ".eml"
Next


Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
KLINT
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 24 October 2005 at 1:08am | IP Logged Quote KLINT

HI ALEX
THNKS FOR UR INFORMATION.
I HAVE ONE DOUBT PLZ CLRIFY MY DOUBT I'M SENDING SINGLE NOT MULTIPLE FIRST MAIL I HAVE SAVE BUT NEXT SENDING MAIL I HAVE NOT SAVE SO HOW TO INCREMENT THE SECOND MAIL TO THE FIRST MAIL
Back to Top View KLINT's Profile Search for other posts by KLINT
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 24 October 2005 at 2:08pm | IP Logged Quote Alex

I'm afraid I did not completely understand your objective.

Could you please clarify what exactly you mean?

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
KLINT
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 24 October 2005 at 11:55pm | IP Logged Quote KLINT

hi alex
Ok my problem was solved
            Thank u
Back to Top View KLINT's Profile Search for other posts by KLINT
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide