PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, August 31, 2022

[FIXED] How PEAR:Mail can save a copy of email in sent items?

 August 31, 2022     email, imap, pear, php, smtp     No comments   

Issue

Is that possible to save our emails when we use PEAR:Mail and send them trough SMTP server?

ex. when an email is sent with IPhone, we can see a copy of that email in Sent folder on our web mail access

I'm looking for a solution base on PHP code.


Solution

Your iphone (and every other mail client) does it the following way:

  1. send the mail via smtp
  2. store the mail via IMAP in the "Sent" IMAP folder

It's basically sending the mail 2 times to the server, once with SMTP to get it out to the world, and another time to store it in your mailbox.



Answered By - cweiske
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing