Questions tagged [send]

is a generic tag for communication between programmed elements using some protocol.

This is the generic tag to use when two or more elements communicate each other using some protocol. An example of this is, send a data flow through sockets from one application to another, send a data flow from a client to a server or send some data from one application architecture component to another.

2171 questions
79
votes
8 answers

Send HTML in email via PHP

How can I send an HTML-formatted email with pictures using PHP? I want to have a page with some settings and HTML output which is sent via email to an address. What should I do? The main problem is to attach files. How can I do that?
Abadis
  • 2,671
  • 5
  • 28
  • 42
71
votes
11 answers

How to send HTML email using linux command line

I need to send email with html format. I have only linux command line and command "mail". Currently have used: echo "To: address@example.com" > /var/www/report.csv echo "Subject: Subject" >> /var/www/report.csv echo "Content-Type: text/html;…
Oleh Herych
  • 897
  • 1
  • 9
  • 16
52
votes
4 answers

How do I send someone my SSH public key?

I need to send my SSH Public Key to one of my customers, but I am not quite sure how to do this. I have already created a SSH key pair on my computer, but now I am stuck.
CJ Hill
  • 521
  • 1
  • 4
  • 8
43
votes
2 answers

Android sample bluetooth code to send a simple string via bluetooth

I want to send a simple string data such as 'a' from an android device to other one via bluetooth. I looked sample bluetooth code in android sdk but it is so complex for me. I cannot understand how I can send only specific data when I press a…
user3374956
  • 433
  • 1
  • 5
  • 5
38
votes
3 answers

What is the send() method used for?

Could someone please help me to understand what the 'send()' method listed below is used for? The code below, when I am reading it, makes no sense what purpose it's serving. It's a Rails app using Ruby 1.8.7 with Rails 1.2.3. Please don't harp on me…
Skittles
  • 2,866
  • 9
  • 31
  • 37
35
votes
3 answers

HTML5 increase youtube speed 2x from url?

I would like to know how to speed up a youtube video 2x without the user clicking on the HTML5 (of the video), but instead by modifying the URL. For example, I know how to watch video starting at a specific time by appending to the URL the parameter…
tonni
  • 1,225
  • 4
  • 19
  • 35
27
votes
2 answers

Sending UDP Packet in C#

I have a game server (WoW). I want my players to download my custom patches to the game. I've done a program that checks for update/downloading things. I want my program to send a packet to my game server if player have all my patches. I dont need…
DOminik
  • 281
  • 1
  • 3
  • 4
27
votes
1 answer

websocket.send() parameter

Usually, we only put the data we want to send as websocket.send() method's parameter, but I want to know whether there are other parameters like IP that we can put inside the brackets. Can we use it this way: websocket.send(ip, data); // send data…
Ivy
  • 503
  • 1
  • 10
  • 23
26
votes
4 answers

flutter passing multiple data with getx

I want to Pass multiple data from one screen to another screen with Get package. Get.to(Second(), arguments: ["First data", "Second data"]);
Jewel Rana
  • 2,397
  • 1
  • 19
  • 28
26
votes
6 answers

How to send an imessage text with applescript, only in provided service?

Can somebody show me how to send a message directly to the user of iMessage via Messages app? tell application "Messages" if service type of service of buddy whose name is ("Name here" is "iMessage") then set x to 1 if service type of…
cre8eve
  • 371
  • 1
  • 6
  • 11
25
votes
15 answers

What's a quick, easy way to send HTML emails to myself to test them?

I've been given the task of optimizing HTML emails for different email/webmail clients. I used to test the HTML file by doing a trick in Outlook Express, to make it send the raw HTML, but Microsoft seems to have stopped supplying Outlook Express now…
Jonathan
  • 32,202
  • 38
  • 137
  • 208
25
votes
1 answer

Why is it assumed that send may return with less than requested data transmitted on a blocking socket?

The standard method to send data on a stream socket has always been to call send with a chunk of data to write, check the return value to see if all data was sent and then keep calling send again until the whole message has been accepted. For…
Ernelli
  • 3,960
  • 3
  • 28
  • 34
24
votes
2 answers

Send some keys to inactive window with python

I'm trying to send some keys to an inactive window/process/program (Win32/64) using Python. Already read about pywinauto and SendKeys, but both of them activate the window before sending keys. Is there any way to work with an inactive window without…
killradio
  • 241
  • 1
  • 2
  • 3
23
votes
4 answers

Sending a File using Bluetooth OBEX Object Push Profile (OPP)

Is there any way to send a file using the android bluetooth API using OBEX? I need to send a file to a printer that supports OBEX OPP only. I can send the file using the android intent ACTION_SEND to the printer with no problems, but I'd need to…
BFil
  • 12,966
  • 3
  • 44
  • 48
21
votes
5 answers

Spring Kafka asynchronous send calls block

I'm using Spring-Kafka version 1.2.1 and, when the Kafka server is down/unreachable, the asynchronous send calls block for a time. It seems to be the TCP timeout. The code is something like this: ListenableFuture> future =…
1
2 3
99 100