Alaska Software Inc. - SMTPClient()
Username: Password:
AuthorTopic: SMTPClient()
César Calvo SMTPClient()
on Sun, 16 Nov 2014 13:16:47 +0100
Hello.
Why with  SMTPClient() I get send emails and it is received in the inbox but 
the sent message is not in the sent box?
Can anybody say me any idea for see this message in sends.
Regards.
César.
Andreas Gehrs-Pahl
Re: SMTPClient()
on Sun, 16 Nov 2014 17:14:57 -0500
César,

>Why with SMTPClient() I get send emails and it is received in the inbox but 
>the sent message is not in the sent box?

Because you send the emails outside of your (default) email program, that 
program can't copy the message to its own "Sent" folder. Each email program 
saves emails in its own format and its own location, no matter if it is a 
local (desktop) or online (web-based) email program. Email programs retrieve 
emails from one (or more) mail servers -- usually using the POP3 or IMAP 
protocols -- and store them locally (or online) for you to read. They also 
(usually) save copies of the emails that you send. But if the email is sent 
from a different email program, they can't save a copy in their own "Sent" 
folder.

>Can anybody say me any idea for see this message in sends.

You could send your emails using your (default) email program through MAPI 
or ActiveX, instead of using SMTP directly. Alternatively, you might be able 
to just copy the email into your (default) email program's "Sent" folder 
using MAPI or ActiveX.

But the simplest way would be to use a BCC (Blind Carbon Copy) header to 
send the email with the SMTPClient() also to yourself, and to have your 
(default) email program setup to automatically move those emails to its 
"Sent" folder (and to mark them as read). Most email programs can be setup 
to automatically categorize and save emails in specific folders, based on 
the sender(s) and other criteria, like the Subject. You apparently use 
"Microsoft Windows Live Mail" as your default email program, and I have 
no idea how to set this up or configure it, but I hope this helps you at 
least somewhat.

Andreas

Andreas Gehrs-Pahl
Absolute Software, LLC

phone: (989) 723-9927
email: Andreas.GP@Charter.net
web:   http://www.Aerospace-History.net