What happens in the background when I use Sendmail?
Posted: Wed Apr 16, 2008 4:44 am
I can't understand something, I hope anybody can help me.
If I'm sure, than the sendmail is an MTA (message transfer agent) which handles the mails sent from scripts (php) to an SMTP server(???).
If yes, than what happens when my php sends an email (using swift with verbosesending plugin)?
1. swift makes the right mail format to be standardized
2. gives this mail to sendmail and ask it to relay to the SMTP server (???)
3. if it be true, than SMTP has to be indicate back to sendmail the results
4. if any error occured, than verbosesending gives a red line, otherwise a green one.
And than the error handleing:
If an error occures, (sendmail isn't available or SMTP had something problem) than I can operate swift to sleep, and try again or after any time of retrying, give up.
And the last one is the failed mail adresses. It meens that, if any problem occured during the send process (between php and sendmail??? or between sendmail and smtp???) than swift collets the failed mail adresses and stores it?
Sorry if I am asking begginers stupid questions, but I wnat to understand it to do my best!
Thanks
If I'm sure, than the sendmail is an MTA (message transfer agent) which handles the mails sent from scripts (php) to an SMTP server(???).
If yes, than what happens when my php sends an email (using swift with verbosesending plugin)?
1. swift makes the right mail format to be standardized
2. gives this mail to sendmail and ask it to relay to the SMTP server (???)
3. if it be true, than SMTP has to be indicate back to sendmail the results
4. if any error occured, than verbosesending gives a red line, otherwise a green one.
And than the error handleing:
If an error occures, (sendmail isn't available or SMTP had something problem) than I can operate swift to sleep, and try again or after any time of retrying, give up.
And the last one is the failed mail adresses. It meens that, if any problem occured during the send process (between php and sendmail??? or between sendmail and smtp???) than swift collets the failed mail adresses and stores it?
Sorry if I am asking begginers stupid questions, but I wnat to understand it to do my best!
Thanks