Questions tagged [email]
Use this tag for questions involving code to send or receive email messages. Posting to ask why the emails you send are marked as spam is off-topic for Stack Overflow. Questions about configuration of mail servers belong on Server Fault.
email
59,511
questions
1236
votes
8
answers
537k
views
What is the maximum length of a valid email address?
What is the maximum length of a valid email address? Is it defined by any standard?
1094
votes
15
answers
1.1m
views
Can I set subject/content of email using mailto:?
Is it possible to set the subject/content of email when I use mailto:?
965
votes
26
answers
668k
views
Sending email in .NET through Gmail
Instead of relying on my host to send an email, I was thinking of sending the email messages using my Gmail account. The emails are personalized emails to the bands I play on my show.
Is it possible ...
864
votes
18
answers
1.3m
views
What characters are allowed in an email address?
I'm not asking about full email validation.
I just want to know what are allowed characters in user-name and server parts of email address. This may be oversimplified, maybe email adresses can take ...
701
votes
25
answers
477k
views
Sending Email in Android using JavaMail API without using the default/built-in app
I am trying to create a mail sending application in Android.
If I use:
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
This will launch the built-in Android application; I'm ...
688
votes
41
answers
486k
views
Send Email Intent
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/html");
intent.putExtra(Intent.EXTRA_EMAIL, "[email protected]");
intent.putExtra(Intent....
625
votes
46
answers
662k
views
C# code to validate email address
What is the most elegant code to validate that a string is a valid email address?
568
votes
30
answers
543k
views
PHP mail function doesn't complete sending of e-mail
<?php
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
$from = 'From: yoursite.com';
$to = '[email protected]';
$subject = 'Customer ...
554
votes
26
answers
463k
views
How to send emails from my Android application?
I am developing an application in Android. I don't know how to send an email from the application?
465
votes
24
answers
120k
views
How do you make sure email you send programmatically is not automatically marked as spam?
This is a tricky one and I've always relied on techniques, such as permission-based emails (i.e. only sending to people you have permission to send to) and not using blatantly spamish terminology.
Of ...
427
votes
5
answers
261k
views
Are email addresses case sensitive?
I've read that by standard first part of e-mail is case sensitive, however I've tried to send e-mail to [email protected], [email protected] and [email protected] - it has arrived in each case.
How do ...
425
votes
39
answers
292k
views
How to validate an e-mail address in Swift?
Does anyone know how to validate an e-mail address in Swift? I found this code:
- (BOOL) validEmail:(NSString*) emailString {
if([emailString length]==0){
return NO;
}
NSString *...
420
votes
13
answers
277k
views
How to get the Android device's primary e-mail address
How do you get the Android's primary e-mail address (or a list of e-mail addresses)?
It's my understanding that on OS 2.0+ there's support for multiple e-mail addresses, but below 2.0 you can only ...
412
votes
7
answers
472k
views
Change email address in Git
I have a project hosted in Git stash (now rebranded as Bitbucket Server). It is built using Jenkins.
Now I made a typo while installing my Git locally.
Like @ab.example instead of @abc.example
After ...
410
votes
9
answers
629k
views
mailto link with HTML body
I have a couple of mailto links in a HTML document.
<a href="mailto:etc...">
Can I insert HTML formatted body in the mailto: part of the href?
<a href="mailto:[email protected]?subject=Me&body=...