Sending email and keeping a copy on the server
-
Hi, My application automatically sends email messages using System.Net.Mail.MailMessage and System.Net.Mail.SmtpClient. However, the sent emails are not kept on the mail server. Is there a way of doing so? Thanks, Eyal.
Hi ! This depends on your mail-server. At our mail system I installed a seperate mail address and use the BCC to send an extra copy to this address. > System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage() > string mail_bcc_address = "dummy@myfirm.de"; > mail.CC.Add(new MailAddress(mail_bcc_address)); Best regards, Gerrit
-
Hi, My application automatically sends email messages using System.Net.Mail.MailMessage and System.Net.Mail.SmtpClient. However, the sent emails are not kept on the mail server. Is there a way of doing so? Thanks, Eyal.
first of all use POP control protocol for send mail because it provide facility to send mail as well as store mail.. and SMTP protocol only use for send mail... after that for save mail use fileupload control for save mail at server side in folder If You Get your answer then please Rating me... Thanks.. "Are You Ready" DX-ARMY
-
first of all use POP control protocol for send mail because it provide facility to send mail as well as store mail.. and SMTP protocol only use for send mail... after that for save mail use fileupload control for save mail at server side in folder If You Get your answer then please Rating me... Thanks.. "Are You Ready" DX-ARMY
DX Roster wrote:
first of all use POP control protocol for send mail because it provide facility to send mail as well as store mail..
Incorrect. Protocols POP (POP3) and IMAP are used for retrieve emails. Usably ISP doesn't support IMAP. IMAP doesn't erase emails automaticly unless it was specified. SMTP is used for only sending emails, While POP or IMAP are only for retrieving emails,
-
DX Roster wrote:
first of all use POP control protocol for send mail because it provide facility to send mail as well as store mail..
Incorrect. Protocols POP (POP3) and IMAP are used for retrieve emails. Usably ISP doesn't support IMAP. IMAP doesn't erase emails automaticly unless it was specified. SMTP is used for only sending emails, While POP or IMAP are only for retrieving emails,
-
Thank you. So how can I send message that will be saved in the "sent items" folder? In worst case I'll add myself as recipient (regular or CC or BCC), but it's a bit dirty... Eyal.
This depends on your mail-server. Have you tried using a client such as thunderbird or outlock to test if it is possible? Some mail server support settings such as GMail.
eyalbi007 wrote:
I'll add myself as recipient (regular or CC or BCC), but it's a bit dirty...
Yes, and also the one who recieves it, also will see it your CC and BCC