General :: Sending AIM Via PHP?
Jan 31, 2011
I'm trying to send an AIM via PHP. I've had no success using BlueTOC.
I'm currently trying a different method which will work nicely if I can just figure it out.
I've decided to just install nAIM on my server running CentOS. From there I intend to just use the PHP command exec() to call up nAIM and send the message. Simple enough...
My problem i'm running in to is that I don't really know enough about using the exec() command to call up nAIM and give it all the commands needed to send the message.
To run nAIM from the command prompt you have to type "naim" then the program starts. After you have it running you type "/connect <screenname>" then "<password>" then "/msg <user> <message>".
Unfortunately this can not all be done on 1 line using -options. So when using the exec() command in PHP i'm really now sure how I can accomplish all this.
The end result for this is basically: I'm trying to scrape a page and when new data is posted on the page, I want to send an AIM with that new data to someone.
The scraper part I have down no problem. It's just the whole AIM part that eludes me.
View 1 Replies
ADVERTISEMENT
Jul 11, 2011
I cant seem to print a pdf that I downloaded from the Internet. Is it because of permission issues? When I email it to my friend to print, is she owner or group?
View 2 Replies
View Related
Mar 2, 2010
I'm trying to using rsync to backup some files, about half a TB. It's now it a state where it keeps sending the same files everytime it runs. for example:
rsync -av /data/source/* user@host:/data/dest
sending incremental file list
source/file1.txt
source/file2.txt
I then verify those files are copied over. then the next time it runs it does the same thing
rsync -av /data/source/* user@host:/data/dest
sending incremental file list
source/file1.txt
source/file2.txt
any idea why it's getting stuck on these files? I've tried to wipe the whole dest directory out and start over but no luck.
View 2 Replies
View Related
Jan 20, 2010
I'm using something like this to send file from one computer to another:To serve file (on computer A):
cat something.zip | nc -l -p 1234 To receive file (on computer B): netcat server.ip.here. 1234 > something.zip can I do the opposite? Let's say I have file on computer B and I want to send it to A but not the way I wrote above, but by making computer that's supposed to receive file (A) be 'listening' server and connect computer that's 'sending' file (B) to server and send the file? Is it possible? I think it might be but I'm not sure how to do this.
In case my above explanation is messed up: How do I send file TO 'server' instead of serving the file on server and then taking it FROM it (like I did above)?
View 2 Replies
View Related
Jul 23, 2010
Had anyone tried downloading a free SMTP server from the web and use it to send emails in nagios, when the services are down, an email notification will be sent.Right now i need a smtp server in order for me to send email notifications, are there any recommended ones?
View 7 Replies
View Related
May 21, 2011
We use mutt to send out emails.mutt -s "Test" -e "Content-Type: text/html" test@example.com < message.htmlWe send out our email updates in HTML format. We would like to send emails as multi-part containing both a text version and an html version. How do we create such a multipart message in Linux when the email subject, and HTML and text versions of the email body are given?Can we use mutt to send the multipart email created in step 1, from the linux prompt?
View 1 Replies
View Related
Sep 4, 2009
I'm using the mail command and I am able to send mail to my gmail account with out any problems. However when I send mail to deco -at- mycompany.com I nothing happens and no mail ever arrives in my mailbox. It might be worth mentioned that my centos5 is a virtual machine on the same server as the company exchange mail server.
View 1 Replies
View Related
Feb 10, 2011
here is a fragment of a bash that i have to send an email when a back Up is made. basically a usr runs the sh - it asks for the job num and I read that from standard in . I do a tar of the drv to tape and I wish to send an email that job such and such has happened. My problem is : the subject of the email. I can set it - but if i try to use a var ( as in the $jobNum ) that Does work in the mail body - the subject comes out blank. I have also tried to buld a text file and shove that in the SUBJECT. my Q is how can I use a var in the subject.
# email subject
### so I have tried bulding and reading a tmp file -no works
EMAILSUBJECT="/tmp/emailsubject.txt"
echo "backup job" $jobNum >$EMAILSUBJECT
[code]....
View 4 Replies
View Related
Jul 2, 2010
GNU/linux kernel 2.6, Slackware 12.0.
I ran mail (aka mailx) and opened an account foo. If I remain inside the program, the command 'account foo' prints the account data. Good. But if I exit the program, and rerun it, then the command 'account' has no output which is to say I have no account.
View 1 Replies
View Related
May 3, 2011
I'm using Linux 11.04 and just installed the most recent version of Postfix. I'm trying to send a simple email (through a relay) but when I run the command
sendmail davea@mydomain.com FROM: fromemail@gmail.com SUBJECT: hello world this is a test email .
It just hangs there. There is nothing in /var/log/mail.log or in any of its accompanying files.
View 4 Replies
View Related
Jan 19, 2010
How to set outgoing mail limit? And what is the default value?
View 2 Replies
View Related
Feb 25, 2011
How is it done?Right now its just getting written in a local text file(not /var/../.., not using syslog at all).and every day a new file is being created
View 3 Replies
View Related
Dec 26, 2010
I cannot send an email link in Namoroka. I go to file-send link and nothing happens. I tried to find the problem by about:config in Namoroka. I just found /usr/bin/mozilla-thunderbird. With my limited knowledge I do not know what else to look for.
View 14 Replies
View Related
Sep 14, 2010
I have sendmail setup and it works fine sending emails to outside email addresses. When I try and send email to our internal groupwise server the mail never gets there and I get an error message in the log user unknown.
View 1 Replies
View Related
Jul 6, 2011
program to measure speed of sending file from one computer to another
View 1 Replies
View Related
Nov 23, 2009
i have a problem regarding our email server. all the users can send email but they cant received mail. .when hitting send receive on outlook there were no error found. .i have already reboot the server and restarted the sendmail services but still same problem.
View 1 Replies
View Related
Jun 1, 2011
I have slackware 13.0 installed in my system. how to find soundcard used by alsa for sending the data.
View 1 Replies
View Related
Jan 1, 2010
How do you send files, save or other wise write to CD using Mandriva Linux? On windows you get a helper menu. Linux does not offer this option in it's helper file and you can't click and drag a file in the CD folder. The dialog box reads "you do not have permission to write to this folder" when I try to drag it in and I can't change the permission signed in as Root.I don't have a clue. I wish Linux Questions would add a emotioncon that has the expression " what the hell buddy? are you on ten hits of acid?
View 8 Replies
View Related
Feb 1, 2010
Because of my English skills I'll try to explain this subject as best I can, thank you for understanding. Fisrt of all, I am running some program on my slackware in background (using standard method - &). I need to make a script, which allows sending command to this process on my machine from another one. Furthermore this program have to be logged out (standard output f.e. ./myprogram > log.out.txt).It might be a separate Program A which runs my Program B but it cannot be screen, because it is not working like I'd like to and it cannot be java, because it's slow and working not the best so to speak
View 6 Replies
View Related
Mar 26, 2009
I come from more of a programming background but have been giving the task of sending backup results from a linux box in an email to external email addresses, I have spent days looking trough google for info but cant seem to find anything simple, I have looked at postfix but because I don't understand networks, hosts, nameservers etc. What I need to do to allow mail get sent from the linux box to external mail address. I have outlook connected to an exchange server on windows and I can ping the linux box from my windows command so surely it cant be to much involved.
View 5 Replies
View Related
Jun 23, 2010
I have a problem sending emails in the command line. I have introduced this command:
sendEmail -f my.account@gmail.com -t myself@domain.tld
-u this is the test tile -m "this is a test message"
-s smtp.gmail.com
-o tls=yes
-xu usernameonly -xp mypasswd
But then I received this message:
sendEmail[13230]: ERROR => Connection attempt to smtp.gmail.com:25 failed: IO::Socket::INET: connect: Connection timed out
View 1 Replies
View Related
Feb 14, 2010
I received the following output from an rsync (3.0.0) command that was executed:
sending incremental file list
sent 77214 bytes received 484 bytes 155396.00 bytes/sec
total size is 254531170 speedup is 3275.90
What does "sending incremental file list" mean?
View 9 Replies
View Related
Jun 11, 2010
Can I make my messages directly appear at client from server? Normally we type
tailf /var/log/messages
to see messages sent by other machine. So can I send my messages directly at command prompt?
View 2 Replies
View Related
Dec 17, 2010
I'm am not remotely familiar with the linux operating sytem and just need a simple 'cut and paste solution' that will allow me to send .gz files as mail attachments, from the command line.Recently I moved my website to new hosting company, they are using cpanel and I have set up a couple of commands; the cpanel scheduler runs them for me as required.
1.creates an mysql dump and saves it to folder ( in root of my space )Works fine.2. delete the file created above, after 15 mins. Also works fineWhat I really want to do is email the .gz to myself before it is deleted, this is were I am stuck.This is possible ( I believe ) but it is beyond my understanding and ability to write the scipt/command that will make this happen.Please make any instructions really simple and clear as I am really new to this.on the server and this information is provided below and may be helpful to you (but I certainly to not know anything about this type of stuff)
View 7 Replies
View Related
Dec 10, 2010
I want to ask about Kmail. I have Kmail from Mandriva. I use Kmail for My Email. And When I reply Message, I found some trouble.
Sending failed:
Unknown error code 50. The message content was not accepted.
The server responded: "5.7.1 Message refused by BannedWord check. This email has been rejected. The email message was detected as spam." Please send a full bug report at [URL]. The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder. This transport protocol was used: smtp.net
How to solve this email error I get when I try to send email via KMail.
View 2 Replies
View Related
Aug 12, 2010
I'm trying to do a
find /photos/* -type f -mtime +365
to find all my pictures that are over a year old, but I keep getting argument list too long. How can I view what all the results are, even if it just dumps it to a file that I have to open?
View 12 Replies
View Related
Mar 30, 2010
I want to know that by default do we need to configure SMTP and POP3/IMAP sever for sending and receiving mails in Linux server and client machines or we can directly send and receive mails without configuring these mail servers?
View 2 Replies
View Related
Jun 10, 2011
I have proxy running. I have seen LAN machines sending packets by iftop -P -F 192.168.10./24
[Code]....
How do i set my iptables so that I can only send and recieve http,smtp,ssh,dns,dhcp request in and out of the proxy
[Code]...
View 3 Replies
View Related
Jan 1, 2011
The man page seems to indicate no. There is /etc/rc.d/init.d/halt on Fedora. It has a hard coded pause in it, but there's got to be a better way than to change that script.
View 2 Replies
View Related
Sep 8, 2010
Code:
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
[code]....
Description of what the code does or what i intended to do:
1. Created a child process from parent process using 'fork()'
2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.
(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed
Code:
printf("%d
",msg->cpid);
I expected to get the pid of child process, which the child process sent to parent process through the signal.
View 3 Replies
View Related