Verify users email - email

When a user sets up an account for an application and uses their email address for a username, how do I verify that the email address they entered is a valid email? Specifically, without sending a verification email.

Valid e-mail address eq php filter_var('root#stackoverflow.com', FILTER_VALIDATE_EMAIL);
when user finish retyping e-mail onfocus send ajax request
DNS query for e-mail svr eq search in google for source script "valid email by dns github"

Related

How to verify user email address if unknown email server requires authentication

Community,
If a user wants to register with your website, and you want to make sure the user’s email actually exists and is being used, the practice has been to create code that sends a message to the user’s email.
Nowadays, most smtp servers require authentication to accept mail. Since u cannot know your user’s email address in advance, I would like the others to enlighten me on how they are doing their email address verification.
I already know how to authenticate my message-sending application with yahoo, (and may be gmail) but how do you verify user email in the case of unknown smtp servers at which your user might have an email address ????

SAP BW SMTP unique sender

I've configured SMTP on BW4HANA.
Everything works correctly only if the user that send the email have a certain email setted in SU01 (Example: testemail#test.com), if an user, with a personal email setted in SU01, try to send an email receive an error like "...not authorized to send as...".
What i want is that every user have their own personal email setted in SU01 but when they send an email this will be send using testemail#test.com. Basically i want that every email will be send with testemail#test.com address even if the user that send the email have another email setted in SU01. it's possible ? how ? can the parameter SMTP_TECH_SENDER help in this ?

Authenticated user field in email shows primary email when using aliases

So I have an email with a custom domain and when I send an email using an alias,
my primary email is shown in the source of the mail in the field Received:(authenticated user my#primaryemail.tld).
In all the other fields the alias email is shown.
I've set up dkim, spf and dmarc.
Is this how it's supposed to work or am I doing something wrong?
I'm using gandi mail as email provider.

I got error Mail failure - rejected by local scanning code in Opencart

I got below error in mail
The FROM field must be the same as the user you are doing
SMTP / FROM address authentication must match your authenticated email
user
I think it's pretty self explanatory. You're authenticating with an email address and you try to send the email from another email address. Some server have such protection. So be sure that the FROM address matches the actual email address you use to authenticate via SMTP.

How do I make the Drupal default From: e-mail different than the email of the user who receives system e-mails?

I am creating a site that requires admin approval before creating a user account. In Site Information settings I have set the site's e-mail address to "noreply#mysite.com"
New registrants request an account and they correctly get an e-mail From:noreply#mysite.com
No problems there.
However, the useful "Approve New User" e-mail also gets sent to "noreply#mysite.com" when I need it to go to "me#mysite.com." The noreply address is strictly a garbage address I will never check.
So, how do I set up a different email for the default "From:" address and the default system alert e-mail recipient address?
You can use Drupal's hook_mail_alter to intercept the email that gets sent to noreply#mysite.com send it to the desired email address. http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_mail_alter/6
It's also possible to do this kind of customization using Triggers and Actions:
http://drupal.org/node/199254
http://drupal.org/documentation/modules/trigger
There is a module, User Registration Notification, that does what I needed. Keep the site e-mail "no-reply" and change the To: value in the module to "me".
User registration notification