* * *

Author Topic: [solved]Sent mails with Xmailer don`t create sent items on server folder?  (Read 397 times)

Soner A.

  • Full Member
  • ***
  • Posts: 176
    • My Blog
Hello,
I am using Silvios Xmailer to send mails. The mails are sent and the receiver gets them but there is no send item entry on the mail server for this mails, does anyone knows why?

When I send email with Thunbird or Macos-Mailprogramm then I can see the mails on the server in sent box but only the mails sent by xmail hav not send entry.
Is this happens only to me or has anyone same eror?

Thank for the answers.
« Last Edit: June 23, 2017, 12:20:24 am by Soner A. »
I use latest Lazarus version with fixes-svn, fpc latest official, Windows 7, All 32Bit

Leledumbo

  • Hero Member
  • *****
  • Posts: 7610
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Sent mails with Xmailer don`t create sent items on server folder?
« Reply #1 on: June 21, 2017, 11:05:39 pm »
Saving a copy of sent mail is not part of the (open standard) mail protocol. Apart from sending mail to destination, email clients does additonal "sending" (store on local storage in case of POP, and send to "sent" folder in server in case of IMAP).

Remy Lebeau

  • Sr. Member
  • ****
  • Posts: 280
    • Lebeau Software
Re: Sent mails with Xmailer don`t create sent items on server folder?
« Reply #2 on: June 21, 2017, 11:07:18 pm »
I am using Silvios Xmailer to send mails. The mails are sent and the receiver gets them but there is no send item entry on the mail server for this mails, does anyone knows why?

Because the SMTP protocol has no concept of such things.  If the SMTP server does not automatically save a copy of sent emails in the sender's folder, Xmailer would have to manually connect to the provider's IMAP server and place a copy of sent emails in the appropriate folder.  XMailer is just a simple SMTP implementation, so it would not do that extra IMAP step.  A full featured email program normally would.

When I send email with Thunbird or Macos-Mailprogramm then I can see the mails on the server in sent box

I can't speak for MacOS, but Thunderbird has a configuration that tells it which remote folder to place sent emails in, and it is usually smart enough to figure out what those folders are by default (but you can also change the configuration if desired).

but only the mails sent by xmail hav not send entry.

Then XMailer is not saving a copy of sent emails via IMAP, which makes sense for an SMTP-only implementation.
Remy Lebeau
Lebeau Software - Owner, Developer
Internet Direct (Indy) open source project - Admin, Developer

Soner A.

  • Full Member
  • ***
  • Posts: 176
    • My Blog
Re: Sent mails with Xmailer don`t create sent items on server folder?
« Reply #3 on: June 22, 2017, 01:09:32 am »
@Leledumbo, @Remy Lebeau:
Thank you very much for the explanations about SMTP and IMAP protocol. I did not know this, I thought server makes it automatic.
I used before MAPI-sendmail.  I use it in my program to send pdf-invoices. Thanks again.
I use latest Lazarus version with fixes-svn, fpc latest official, Windows 7, All 32Bit

Soner A.

  • Full Member
  • ***
  • Posts: 176
    • My Blog
Re: Sent mails with Xmailer don`t create sent items on server folder?
« Reply #4 on: June 23, 2017, 12:19:57 am »
If someone has same problem:
The simplest solution is sending the mails to sender adress as bcc, after that configure the mail server to move this mails to sent folder.
same procedure like junk mail filter.
I use latest Lazarus version with fixes-svn, fpc latest official, Windows 7, All 32Bit

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus