YAFLogo

billd
  • billd
  • 56.8% (Neutral)
  • YAF Forumling Topic Starter YAF Version: 3.17
a year ago
Hello

I have just finished importing 25,000 users from an old custom forum into the YAF database.

I enabled the email pickup directory in web.config and commented out the SMTP server details because I did not want users to receive emails about their egistration while I was testing the import. 

I saw the email files appear in the pickup folder and deleted them.

I cannot find this documented anywhere - but could somebody confirm that by deleting the .eml files that YAF will not send those emails.

They're not stored in a queue anywhere else? Either as files or in the database?

I had about 10 attempts at my export and import into YAF and want to be absolutely certain no registration confirmation emails will be sent before I enable the SMTP settings.

Thanks,

BillD

 

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
a year ago
Do you mean the email verification mails or the welcome mails? Both are only send once. However the email verification mails are stored in the yaf_CheckMail table, because they contain the verification code.
billd
  • billd
  • 56.8% (Neutral)
  • YAF Forumling Topic Starter YAF Version: 3.17
a year ago
Thank you for the reply.

I unserstand each email is only sent once, but i had something like 10 attenpts before my export / import worked 100%. 

So, if ensure rhe yaf_CheckMail table *and* the email pickup folder are empty then I can be confident I can enable SMTP email and YAF will not send any queued email?

Thanks,

BillD

 

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
a year ago
Its possible that the sendmail client try to send the mail multiple times, but this has nothing to do with yaf. Yaf, as i wrote before only send it once.

But you can disable the welcome mail. Only the email confirmation is required.