Jump to content

[SOLVED] get message-id header from sent email through mail()??


Recommended Posts

ok so if i needed to send out an email through php and wanted to get the message-id afterwards, what would be the best way to do so?

 

Set up an email account you can imap into, add a bcc to the mail you send and put the email you setup that you can imap into as the bcc. Then use imap to read the mail and grab the email you just sent.

 

Complicated issue, but yea.

ok yea i was thinking something similar. i have an account set up that is piped to php already for reading responses so ill just bcc the replies to that address and grab the message-id that way.

 

thanks for the help.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.