YAFLogo

teknohippy
  • teknohippy
  • 54.2% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
Been using RC2 for a while now on a live project.

I'd started to notice an increase in people not being able to approve their registration.

In the event log were lot's of the same message.

A "The specified string is not in the form required for an e-mail address." error occruing in YAF.Classes.Utils.SendMailThread.SendMailThreaded.

So I poked around a bit.

Discovered the yaf_email table.

Had a look at it.

The first record had an email address of:


"somebodyOrOther"@gmail.com

Yup, with quotes around the portion before the @.

This is quite obviously the problem the error refers to.

The email in question was a registration verification email.

Once I deleted the offending record the rest of the table sent fine and it's now empty.

Should this one invalid record stop the rest of the mails in yaf_mail being sent and effectively blocking the queue?

Sponsor

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
14 years ago
it shouldn't no... and in fact, it should delete the offending message if it fails to send a couple of times. But there could be bugs.
teknohippy
  • teknohippy
  • 54.2% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
Pity I deleted it.

I didn't look at the number of failures or anything.

I'm going to see if I can replicate locally whilst debugging then.

Time to dig out the source for the first time. :)


teknohippy
  • teknohippy
  • 54.2% (Neutral)
  • YAF Forumling Topic Starter
mddubs
  • mddubs
  • 100% (Exalted)
  • YAF Developer
14 years ago
This should help you get started...

http://bunkerhollow.com/blogs/matt/archive/2008/12/06/working-with-yaf-source-code-from-svn-repository.aspx 
UserPostedImage 
www.bunkerhollow.com  | www.careercomputing.com 
When I post fp:mddubs in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Mek 🙂, who stole this off Ederon 🙂 )
teknohippy
  • teknohippy
  • 54.2% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
That's where I got the URL from.

Thankfully already an SVN user. Ta. :)

I
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button