Re: EmailPtr


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Robert G Laurin on April 02, 2014 at 13:56:00:

In Reply to: Re: EmailPtr posted by Barbara Brazil on April 02, 2014 at 10:07:39:

SMTP has nothing to do with IMAP.

An email account is just a mailbox. Depending on your email client you can use different methods to haul your messages.

POP3 by default downloads & delete messages from the server from the Inbox ONLY - some clients have the option to "Leave messages on server"

IMAP client synchronize all the mail in boxes/subfolders and leave everything on the server - including the sent folder.

When you send messages (SMTP) it is the client that keeps the message in the Sent folder. In case of the IMAP, the client sends the message using SMTP and then sends a second copy in the Sent folder on the server using IMAP with a command similar to this:

x123 append Sent (\seen) {n}

where n is the actual message length sent after this command.

Of course, in order to put the message on the server, you need to login using either plain text or TLS. Depending on the configuration, SMTP does not require login. It will always accept mail destined to its domain and usually is configured to accept mail from within its realm (IP subnet).

For what I need to do, I will most probably need to write my own but I don't know how to use Comet's TLS implementation. I've completed my tests and I am confident I can make Comet send my emails and put them on the server into the user's Sent or Draft folder.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]