How to hide my IP address when sending emails using Javamail? [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I made a Java application that sends emails using JavaMail and it works fine.
The problem is, I want to hide my IP(like when you send an email using Gmail on a browser) before sending it to another user on my app.
I tried to use the setFrom() method to change the from field, but it still reveals my IP.
Is there any way to do this?

It's not possible to hide your IP in the mail header. It's not actually undeer your control. The server at the receiving end know which IP it received the message from and add's that IP to the header of the message.
Spammers generally search the net for more or less open relays to exploit those. A good configuration for your SMTP server will do a lot to prevent those.

Related

How can send mail in java, nonlogin process [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have a requirement of sending the email with the attachment of a file. I found few online java code but that is through gmail/yahoo with login credentials. But I want to send it as anonymous instead of logging in.
Similar to what is available in oracle plsql UTIL_SMTP
Any body can help here!
Thanks inadvance
Basic steps:
Have your server configured to allow you to send mail without authentication.
Use Java Mail API. Create a session using Java Mail API as described here in another SO question: Send mail in javax.mail without authentication

How to implement XMPP server in java so as to get upstream messages from GCM server ? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I have already implemented client side on android,
android device gets device token and then send it directly to App server using sockets
But I read, that it's better to use XMPP and send message first to GCM server, which then send it to App server
How to implement XMPP server in java? Where do I have to put my server ?
I mean, GCM has to have possibility to achieve my App server
Are you looking to implement one yourself ? If not, consider this list:
Openfire
Firebase
ejabberd

How to create wi-fi packet sniffer? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have long been studying the topics of how to create an WI-FI sniffer for android.
I work on the network routing algorithm, and my first goal is to listen to all network traffic. The second task - is to send broadcast messages. This is possible with on android phones? Yes, I got root access. Where can I read about what I want to do? This is done through sockets?
I do not want to adhere some protocols (eg WI-FI direct) and work with the existing ip-address system. I need the lowest level of interaction of OSI.
I think that it is impossible to establish a connection without sockets. One of the devices have to be a server, and another client

Codename One Sockets Send Message to Client [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i want to write a simple App for me (Android). For this it is necessary that the server can send data to my client (only one client at a time) but unfortunately i have no idea how to use sockets or websockets with codename one.
Can someone please post a small examplecode how to establish connection, listen on it and send some small data?
greetings
Captain
You need to use the cn1lib from Steve Hannah to access websockets. Its available here: https://github.com/shannah/cn1-websockets
Found thru looking at https://www.codenameone.com/cn1libs.html
Sockets are a bit problematic though, you might want to look at push, pubnub or just https if applicable. See the chat app demo parts 5 & 6 for the former:
https://www.codenameone.com/blog/building-a-chat-app-with-codename-one-part-5.html
have a look at this example code: https://towhidz.wordpress.com/2012/03/03/simple-chat-applicationclient-server-in-android/
Google is your friend

How to make android multiplayer games without port forwarding [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am trying to make a multi-client application in which somebody is the host and other people join into the game. I need this to be possible without port forwarding so that users can easily set up their server. Is this possible without any help from any of those server hosting companies that help out? Is there any special port that doesn't require port forwarding?
As far as I know, the only possible approach is to use UPnP (Universal Plug and Play). More specific: Internet Gateway Device Protocol (IGDP). This makes the port forwarding go automatically. It is a protocol that has the possibility to ask the gateway to forward a port to your machine. So this isn't really "without" port forwarding, but it will do it automatically, instead of the user having to go and configure their router.

Categories

Resources