Code: Select all
// added for validate email mod $lang['Client_not_verifyed']="Die eingegebene Email-Adresse konnte nicht verifziert werden"; $lang['No_connect_server'] ="Keine Verbindung zum Mailserver möglich";
Niels Chr. Denmark wrote: I have on request made a mod, that validate that the users email is a TRUE email, that way not allowing the user to submit a non exisiting email, when they register or later if they change it in there profile
iced-pee wrote: i'm curious on how the validation works.... is it the same as the user activation scheme in phpbb?
Niels Chr. Denmark wrote: When a user try to submit/change his/her email, then your server initiate a SMTP conection to the email server, if this succes then the server is validated else is gives a error.
iced-pee wrote:Niels Chr. Denmark wrote:When a user try to submit/change his/her email, then your server initiate a SMTP conection to the email server, if this succes then the server is validated else is gives a error.
correct me if i'm wrong, but the validation will only check if the email exists/is valid, right? but that does not guarantee that the user is the owner of the email address that was verified. would it be possible to mail an activation link of some sort?
Niels Chr. Denmark wrote: after the server in the email address is validated, then the client "email name" is validated, this is done by initialising a "virtual" email to the client, if this is not accepted then the email is not accepted and a error is showen
note: the email is only initialised, but is aborted, and therefore not sendt, so the user does not recive a "extra" email
MadArab wrote: how is it going about doing this? is it connecting to port 25 of the email server, and verifying the email address, or is it authenticating via some other method?
If it is doing it that way, couldn't the recieving server reject the request seeing it as a possible spam relay request or attempt?
Niels Chr. Denmark wrote: it is connecting to port 25, but a SMTP server should not prevent this, since "reciving" of mail to own clients should be accepted from any hosts, only "relaying" should be "disallowed" for spaming reason - so this method should be allrigth to use
Niels Chr. Denmark wrote: You are rigth, the email is only validated as a "true" email
about confirming that the email belongs to the user is a basic feature of phpBB2, turn on "Enable account activation" in admin panel
it should do the trick