Sending email to 10,000 addresses without knowing Host and Protocols!!
Context:
I am building an "eMail Marketing Campaign" application which takes a list of email addresses (unlimited) and sends an eMail to all of them.
My servlet creates an instance of "MyMailHandler.java/class" and passes a list of addresses.
Problem:
If I want to send email to different user, do I need to know about everyOne's HOST and PROTOCOL. My application recieves list of addresses from a remote server of a data-selling-company so they don't have that info.
Following is the code (hardCode!) of MyMailHandler.
properties.put("mail.smtp.host", "MAIL.DMCDATABASE.COM");
properties.put("mail.transport.protocol", "IMAP");
Question:
How do I send emails to receivers without knowing everyOne's host and Protocol?????? (new to JavaMail)
No, you only need to know the name of your own mail host. It will send the e-mails to those 10,000 addresses for you. And the protocol for sending mail is SMTP, that's all you need to know to send mail. IMAP and POP are protocols for storing received mail messages and so are not relevant to your task.
Similar Messages
-
Cannot send email to one particular address
I've lost the ability to send emails to my work email address, it seems to have stopped working in the last 30 days or so. I can receive emails from the work address to my personal address, but sending from the personal address to work doesn't work. The emails are not returned as undeliverable. I have Verizon FIOS as my provider, I have tried sending email to my work address from their web email interface and it works fine, so the problem lies in Thunderbird. Anyone have an idea what has happened? I'm not having an issue sending or receiving to any other address.
''Matt [[#answer-667247|said]]''
<blockquote>
It is just a shame Verizon employ support that is not.
Sending from Thunderbird uses a completely different set of protocols and procedures to web mail.
Sending from Thunderbird is analogous to sending snail mail by dropping it in a pillar box in your street corner. Sending using web mail is more like going to the local mail sorting house and dropping the mail into the truck delivering to the city your sent your mail to.
In my analogy there is one huge difference, your anti virus program does not scan outgoing web mails, it does not even see them as mails. The same goes for incoming mail.
So when support people start blaming outlook or Thunderbird and saying it must be the problem, what they are really saying is they actually know nothing more about mail than you do, they have arrived at the end of their script and your have no resolution, so please go away.
We try to do a little better here, but sometimes we can't. Verizon have access to the outgoing servers, they could tell you if your mail ever actually leaves their system, we can only guess.
So what is the mail server your sending to? Is the outgoing mail address your work one?
When you right click on the account name in the folder tree and select settings. On the bottom right is the outgoing SMTP server for the account. Is it what your think it is?
</blockquote>
The outgoing mail address is to my work email, it's @us.ibm.com, I checked the SMTP server name, it is outgoing.verizon.net which is correct.
You're right about Verizon support, once I was able to send via their web interface, they were pretty much done with me....and I pay for that support too...
This is probably going to end up being something simple, at least i hope so, but at the moment it's very frustrating... -
I am using Mail 5.3 with two separate gmail addresses.
One is personal the other is business.
When I send emails from the BUSINESS address, any auto-replies/out of office notices I get come to my PERSONAL INBOX.
I imagine that this is a setting? Please help!Edit the SMTP server list. Add a new one for the business account. Put the correct password and information for it. Give it a description so you will know which server is which. Mke sure the correct server is highlighted in the account selected and check the box to use only that server for that account. Do that for the other account also.
-
Why all of a sudden will my iPad not send emails to one specific address at work but still work to everyone else at work?
Contact the person by telecon. Their email address may have changed.
Cheers, Tom -
I am unable to receive or send emails, have apple mail version 4.6 (1085) and snow leopard, OSX 10.6.8, MacBook Incoming mail server “mail.me.com” is greyed out How do I resolve this problem? All help appreciated [email protected]
Try these server settings.
Mail Server Information -
I have an email account through yahoo. I am having trouble setting it upon my iPhone and can't receive or send emails!!!! I contacted Rogers and they said I need to find out the host name of the incoming server, in other words yahoos host name. Help!!
Yahoo's servers are notoriously unreliable. Use the "Yahoo" account type when setting it up. If it doesn't work, and you are positive the credentials are correct, wait a while and try again.
While you're waiting, set up a free gmail or iCloud email account. -
cannot send email a copy goes in the out box and says the receipient was rejected by the servicer because it does not allow relaying?
Go into Settings>Mail, Contacts, Calendars>your account>Outgoing mail Server SMTP>Primary Server then turn Server ON and fill in both User Name +Password under Outgoing Mail Server.
-
Still cannot send email from icloud .me address
hi. does anybody knows why i cannot send email from my ipad (ios 5.0.1) icloud me.com account? i can recieve but i cannot send. on my mac (lion) it works perfectly. the message i get is "the sender address .mac.com was rejected by the server". mac.com ?? but i use my me.com address. any ideas pls?
thank youI have been having the same problems for the last two days now. It won't let me send, but it will let me save it to my drafts folder. I even tried opening the e-mail form my iPhone 5 and it won't let me send it there either. The last two times i ended up copying the contents from my failed e-mail on my phone and pasting that into a new e-mail and that works. I normally use the icloud web app to reply to e-mails when i'm at work (using win 7) and it is very frustrating.
-
Can't send emails from a btinternet address unless connected to a WiFi network
I am a UK user with an iPhone 5 and Vodafone as my ISP. After installing IOS 7 both gmail and btinternet addresses continued to work well until I upgraded to IOS 7.0.2 since when while I have been able to receive emails with a btinternet address I cannot send when not connected to a WiFi network and 3G makes no difference - gmail will still receive and send however.
Does anyone have a solution please?
Mike SearchfieldReally hard to diagnose without being there, but check with your friend that they don't have any softward filters on wireless router that block ports etc. If it's not your friends wireless, it could be something much more simple like needing to just restart your ipad to reset settings. Good Luck!
-
Can't send email from .Mac alias address
I have been using an email alias with a .mac account ever since aliases were enabled.
I am able to get mail sent to that address, but there is no way I can send mail from it. Its not an option in Mail apps "From" list. Even when I reply to an email send to the alias, when I reply to it, the From address defaults to my main .mac email address.
When I go to icloud.com, I see the correct alias is listed there.
I did a search here but didnt find an answer. Any help would be appreciated, thanks.Try deleting the email account in Mail's Accounts preference pane
and then add it back. That will automatically enter the correct server addresses.
OT -
Cannot send emails from my tiscali address, new to...
hi, I'm new to BT just started today
I still use my tiscali email address, using outlook
i can recieve the emails from tiscali, but cannot sent
i changed the smtp to mail.btinternet.com. but no joy
i have my tiscali login & password setup on the internet settings of outlook
i can only have 1 set of login & paasword on the internet settings of outlook so i cannot login mail.BTinternet.com.
is there a way to gt this to work ? each time i try, i recieve mails but get a 530 authentication code error on sending
thanksrustygoat wrote:
i can only have 1 set of login & paasword on the internet settings of outlook so i cannot login mail.BTinternet.com.
is there a way to gt this to work ? each time i try, i recieve mails but get a 530 authentication code error on sending
thanks
You can have separate logins for incoming and outgoing in Outlook, see screenshots (although they are the same in this example they can be different). Just set outgoing to your [email protected] email address and password. -
I cannot receive emails on my ipad but I can send them. When I try to fetch emails a pop up box tells me to says verify your incoming email setting in settings. I have, it is correct as I am receiving emails on my iPhone with the same incoming address. I have tried deleting it and putting it in again but that does work. The wifi is working fine when using the Internet. Has anyone any ideas what is happening and how I can rectify the problem?
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
iPad Mail
http://www.apple.com/support/ipad/mail/
Try a Reset - iPad How-Tos http://ipod.about.com/lr/ipad_how-tos/903396/1/
Or this - Delete the account in Mail and then set it up again.
Cheers, Tom -
SAPConnect to Send Emails to external mail address
I am trying to send email from SAP to an external email address.
I've configured in SCOT the mail server and it respective port.
When I tried to send a test message, the message failed in the queue with the log:
"Cannot process message in SAP System - No ESMTP Plug-In Is Available for SAPconnect
Application Server Used by the Send Process:
S21TDI05
(Schedule Send Process on App.Server with Plug-In)
Upon checking the sap documentation, I encounter there's also a SMTP Service in "SMICM" as well. Inside there I can see that the SMTP setting is not activate and no values has been entered.
Are these 2 connected?
Advices are welcome.
Thanks,
Regards,
Wooi Chian.This error message means that your SMTP plug-in is not active. Go to TR: SMICM -> GOTO -> SERVICES
Here you must see that the SMTP plug in is active.
This error usally due to bind error. The port wich had to be used is used by an other service.
Check if below mentioned parameters are set.
rdisp/start_icman = true
icm/server_port_0 = PROT=HTTP,PORT=1080
icm/server_port_1 = PROT=SMTP,PORT=25$$, TIMEOUT=60, PROCTIMEOUT=300
icm/server_port_2 = HTTPS,PORT=82$$, TIMEOUT=60, PROCTIMEOUT=300
and restart ICM . You should see SMTP service on SMICM transaction.
In my case problem was with the below parameters. PORT=HTTPS was assigned to server_port_1. I swapped the values of both the parameters icm/server_port_1 and icm/server_port_3. Only after that SMTP service started being visible under DISPLAY --> Services.
icm/server_port_0 PROT=HTTP,PORT=80$$, TIMEOUT=60, PROCTIMEOUT=300
icm/server_port_1 PROT=HTTPS,PORT=82$$, TIMEOUT=60, PROCTIMEOUT=300
icm/server_port_3 PROT=SMTP,PORT=25$$, TIMEOUT=60, PROCTIMEOUT=300
Hope this helps solve the issue.
/Ravi -
When I hit reply, to respond to an email, the recipient's address box is blank, as is the subject box and the message box, which won't even accept the cursor. The whole window freezes up and I have to get out of Firefox to be able to do anything at all.
Because it isn't compatible with my computer's OS ... (mac 10.4)
-
after downloading new ios 7.0.2 to my iphone 5, i am no longer able to send emails. i spent 3 hours on the phone today with Rogers tech support, wiped the phone clean, restored it, etc and it still wont send emails. I am able to receive though. Rogers says its an Apple problem. whats up with this?
Contact apple support at 1-800-692-7553 for mail troubleshooting.
Maybe you are looking for
-
I've lately been having this issue with my iPhone. When I go to transfer a newly purchased album or song from my iTunes library on my Macbook Pro to my iPhone 5 my ENTIRE LIBRARY is transferred to my iPhone. I have it checked so I can manually manage
-
Message tracking and disk usage
hello, I cannot find answer in documentation... what happens if disk quota for message tracking is full? a) message tracking is stopped b) oldest messages will be overwritten which possibility is correct? how much is slowdown performance if message t
-
Just did a clean install of Tiger and a clean install of DVDSP 4.0.2. I have a ATTO ExpressPCI UL3D SCSI card. When I go to format to the DLT (Quantum 4000) I get the message "Format Failed. Not enough space on output device." I can write just fine t
-
I am facing an issue when trying to create a Duplicate Record. Ist time when I create a record, its created Successfully. I have Attribute validations which should not accept duplicate values, So to check that I tried to create the record with same v
-
Start application (mostly GUI app) in chroot of non-arch livecd
It is some kind of new even for me but I try to find away to do arch-linux setup; while I am chrooting in to the arch linux and using live mediums other than arch or arch livecd familys such as archbang. Let say I am using crunchbang liveusb and I in