How can i send fax using perl script? [closed] - perl

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 send FAX using perl script.
How can I do it?
Is their any way send fax using perl script if any idea please tell me.
Thanks in advance

This older (6 yrs) thread on Perlmonks still seems like a good response to this question, in my opinion.
http://www.perlmonks.org/?node_id=782340
Basically, if you have a fax server that has some more or less straightforward method of communicating with it programmatically (like HylaFax) then you can use Perl to interact with it in a familiar way.
If that is not the case then your best answer is to seek out an external program and perhaps automate that, if possible. The "external program" is what you need in order to take care of the many fiddly issues involved with dialing the number, negotiating with the receiver, and so on.
One example of an external program to send faxes is OpenOffice
http://www.linuxjournal.com/content/faxing-openofficeorg
Finally, there is fax4j in Java which you could try and use with Inline::Java, which is kind of cheating in the sense that it is just barely a Perl solution.
http://sourceforge.net/projects/fax4j/
http://search.cpan.org/dist/Inline-Java/Java.pod
If any of this matches something that you can try out in your environment go ahead and then post back in more detail if you run into trouble implementing.

Related

How can i send object/instance of a class from an application on one machine to another application in different machine in swift? [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 2 months ago.
Improve this question
I am working on a MacOS cocoa application using swift from which i have to send information using an object to another application on different machine which then use the information in it's code.
I am new to swift and sorry for my english if you don't to get it.
I have no idea how to do this. Please help me with this if anyone knows.
Well just so you know network communication can be pretty hard. I believe the easiest way is to use WebSocket, which establish a pipe of communication between two devices. You can then send any data you want over this socket.
One difficulty is for the devices to find one another : do they know each other's IP address ? Are they on the same local network ?
The second step is to decide what data you want to send. The simplest is to send JSON content which can be serialized / deserialized on each end easily.
Checkout :
tutorial for websocket
JSON Serialization

Netcat Replacement [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 7 years ago.
Improve this question
When creating a netcat-like program how do I get that file onto a server? It seemed like the reason for creating a netcat-like program was to be able to use it to run commands, get files and connect to ports.
So it seems like it's necessary to have it on the server in order to put it on the server?
I'm probably just really confused.
You'd use another program to load it initially. For example, you might ssh in.
It is also possible that you'd have physical access to the server and could install the first file transfer program manually, or as part of the intial OS install.
Not all interactions have to be done remotely. Otherwise, your intuition would be right -- we'd have a chicken and egg problem.

How to implement or use a WebSocket in perl? [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 8 years ago.
Improve this question
I need to have 3 major things from perl and don't know how to go about it.
Non Blocking websocket implementation like mojo.
The server needs to accept broadcast calls after it has started
The server needs to be able to access data that is on a different thread.
I have tried mojo but didn't find a way to control the port (I can live with that) and didn't figure out how to call events after the server has started. I wasn't able to test if it could handle events after the fact.
I have tried Net::WebSocket::Server but it is blocking. I am tempted to wrap my own code around it so that it can handle non blocking and shared data as it is by far the simplest implementation and easy to modify.
I have also tried pocket.io but it didn't have a very easy way to implement OO design and still remain thread safe. (Mostly because of the Plack framework).
Does anyone have a good example of how to do this with Mojolicious or pocket.io? If not I will just have to implement my own implementation.

I want to send email through perl, what kind of setup is required for it? [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've tried using these different modules given by Perl for sending email:
Email::MIME
Email::Sender
Email::Simple
I cannot figure out whats wrong. Is there any pre-setup required for these modules to work?
Email::Sender is as of 2009 the best sending module; it needs no pre-setup. You configure the transport, e.g. SMTP, and its options, e.g. hostname, at runtime. See the linked synopsis.
I use Net::SMTP because it's a standard Perl module. This means it's always available no matter which machine I'm on.
Net::SMTP is not quite as simple as specific Email modules, but it still doesn't require an advanced degree in rocket science either.
Here's an example where I'm using it. Look at lines numbers 767 to 817.

Very very very simple email option [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I am looking for a VERY simple method to allow for computer illiterate people to set up emailers and be able to send them on to others.
Basically, our client is a franchise chain of about 44 and mostly consisting of stay at home mom's. They would all like to keep in contact with one another via an email campaign of sorts but this needs to be super simple for them.
Here's what we know about them:
The would like to add photos but know nothing about image cropping/resizing or manipulation.
They would need it in the form of an .oft template so that they can just copy and paste.
These are the biggest hurdles. My suggestion to them would be this:
Set up an .oft template which they can open from Outlook and start editing.
Find an online tool where they can upload their images and it spits out the correct sizes for them
Does anyone have another idea of something similar please? As far as I am aware, only Outlook 2003 runs .oft templates still?
Many thanks!
Have you considered MailChimp ?
http://www.mailchimp.com/features