OpenSUSE Network :: Install And Configure Pear - Send Emails Using Php Scripts
Jun 3, 2010Install and configure Pear so that I can send emails using php scripts on a Suse 11.2 LAMP server?
View 4 RepliesInstall and configure Pear so that I can send emails using php scripts on a Suse 11.2 LAMP server?
View 4 RepliesI have a server with a domain running and im trying to resolve the mail server but i can't see where to start. I use OpenSuse 11.2. Basically, for starting, i want postfix to send incoming emails to a php script or perl. for outgoing emails i guess that i could use php mail function and i will see what else to have. I configured the dns. I do a dig.mydomain.tld MX and i get the following:
mydomain.tld3600INMX0 mail.mydomain.tld
mail.mydomain.tld 3600INAmyNumericalIp
So now my system is receiving MX content but i dont know what to do.
I'm experimenting with with mail-servers now and I'm trying to configure postfix to send emails from one email(pop3 is gmail) to any email outside the local network. Server is Ubuntu 10.10 with the last updates.
View 1 Replies View RelatedSomewhere out there there has to be someone that can help me set up my lamp server to send automated emails using my cable providers SMTP server
View 2 Replies View RelatedI would like to send emails form my server using my gmail account.Does anybody know how to do it?
OS = OPENSUSE 11.3 server installation - NO GUI....
I am trying to setup APC on my Fedora 7 server but cant install php-pear. There are loads of sites explaining how to do this but they all use "yum install php-pear" which yum cant seem to find??
root@fedora7 [/etc/apt]# yum install php-pear
Loading "fastestmirror" plugin
Repository base is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: p3mirror01.prod.phx3.secureserver.net
code....
i am having problems sending emails via kmail. i am using kde 4.4.4 sending on port 25
View 9 Replies View RelatedI host a webpage from my PC, and I was having all kinds of issues trying to get it to send emails. These steps send and receive the email through a gmail account. This page saved me.
Here are the simple steps
0. get a gmail account
1. install pear
Code:
sudo apt-get install php-pear
2. Install pear packages:
(I'm not really sure what this does, but I did it, and everything is working)
Code:
sudo pear install -o Mail
sudo pear install -o Net_SMTP
3. run php script to send email.
Code:
<?php
// Include the Mail package
require "Mail.php";
// Identify the sender, recipient, mail subject, and body .....
I'm writing a script that will send an alert email given certain conditions. I have the impression that sendmail is what I need to do that. I just don't know how to use sendmail at all. I assume I have to set it up like a typical mail client so that it has a mail server to log into to send from.
I've looked through the man pages, but I can't find anything in plain English there on how to set it up, or how to use it once it is set up.
I'm trying to install a package (validate) from pear.
but the command sudo pear install validate fails with error:
PHP Fatal error:Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165
Looking around on the internet I found a bug report on debian:url
The fix is to update php5.
So now the question:
How do I update php5 or apply the patch mentioned in this bug report?
I have pear installed, but I'n not sure I have it configured properly.
When I do a phpinfo(), no where are the settings for pear (meaning where it's located). If I recalled there is supposed to be a setting displayed there for PEAR.
When running
Pear upgrade
The following error is raised:
I need some help install and configure my vnc session at my Opensuse.
Right now I have installed nx client which works fine and is listening on port 5901.
I also want vnc to use when I want to check exactly what is going on my work's computer (when I go home)
I am reading the tutorial here:
And I would like to ask you the following
1.
Code:
For VNC client connection remember to open ports 5901-> in the firewall. (1 port/Xsession.) nxserver is listening to 5901. How to configure vnc to listen to 5902.
2. The guide also refers that
Code:
Here we "Prestart" vnc sessions for specific users, therefore no login screen is presented. This uses more resources as the VNC Session is running even when no client is connected to the session watching it. But there in lies it's advantage, "watching a session" and "using a session" are not the same thing! This method is very usefull for starting long running programs before going home. Once home you can re-connect to the session and see how things are going.
I use my university email account and i want to save a backup of my sent emails in other account (gmail). So, is there any way to configure kmail to send automatically a BCC to my gmail account everytime i send an email, i mean, without having to write it everytime cause i forgot to do it sometimes.
View 5 Replies View RelatedI installed 10.3 (after buying it a couple of years ago and letting sit on the shelf) and can't get it to configure my ethernet connection or my wireless card. Yast doesn't include a list of available cards, and the error I get in installation-network setup is that the kernel isn't present. The machine I'm installing this on is a Lenovo, in which there isn't a discrete ethernet card (it's in the motherboard), but my wireless card (a Cisco LINKSYS 802.11G) is a discrete card. Because I'm divorcing Microsoft for a number of valid reasons, I don't have Windows available on that box.
View 4 Replies View RelatedI'm stuck with postfix. It cannot send emails and I cannot find out why! smtpPort 25/tcp is open. I can telnet localhost with 25, but not the localhosts IP(192.168.1.15). Sendmail is OFF. Here is the main.cf file!
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
[code]..
I'm been struggling to find a way to configure suse to send audio to a receiver in some cases. Details: - Did a fresh install - Using an old SoundBlaster card (which worked in my previous version of openSuse) - I do have digital out, but only for Amarok (start menu -> configure desktop -> multimedia -> prefer "SB Live! Platinum [CT4760P], Multichannel Capture/PT Playback (IEC958 (S/PDIF) Digital Audio Output") and Kaffeine (.kde4/share/apps/kaffeine/xine-config -> set "audio.output.speaker_arrangement:Pass Through").
- I have analog sound on firefox and "test volume" on Administrator Settings -> Sound, but just can't find a way to configure those to digital passthrough (tried to copy "audio.output.speaker_arrangement:Pass Through" to .config/kde.org/Phonon-Xine.xine.conf but didn't work)
[Code]...
I have evolution set up to send emails using gmail's smtp server. I've always been able to do it with no problems, but a couple of days ago I stopped being able to send emails to gmail accounts. I can send emails to other addresses but not gmail. The same happens with my wife's laptop with ubuntu. The only thing I can think of is that we recently moved and thus changed ISP, but I don't see how that's preventing us to send mails specifically to gmail accounts...
View 3 Replies View RelatedI'm looking for a solution for sendmail to limit the number of emails send per miniute per IP. For example all my local computer user with ip 192.x.x.x need to able to send 10 emails/minite (emails, not connections!. The rest of the world can send for example 200 emails/minute to the mailserver. If the amount of emails per minute is exceeded, sendmail needs to block receiving emails from the spesific IP. I want to do this to stop spaming from my local network. Is it possible?
View 1 Replies View RelatedI have configured Postfix on a Ubuntu 8.04 box using this tutorial:I can send emails but I cannot receive any email because of a "bad recipient address syntax:"The log from /var/log/mail.info says this:
Code:
Apr 25 14:46:06 360romania postfix/pickup[31716]: 74A682190661: uid=0 from=<root>
Apr 25 14:46:06 360romania postfix/cleanup[32402]: 74A682190661: message-
[code]...
I have a web application installed on a Debian server that sends out a lot of e-mails. Is there a way to configure Postfix to retain the messages in a queue and send all of them at midnight for example
View 2 Replies View RelatedHowdy. I'm trying to get mailman up and running. I have CentOS 5 (hiab) and qmail. I did yum install mailman and that went fine, I set up apache and can see the mailman pages via htttp.The issue now is with sending mail, whenever I send emails to the list I get: 511 511 sorry, no mailbox here by that name
So I'm assuming my alias files/.qmail fies are in the wrong spot. The contents of my .qmail are (respective to the -admin, -bounces, -etc)
I just want to be able to send emails through my webserver, setup. I couldn't find a dev forum - so thought i'd post here. I'd like to be able to send emails (form my localhost setup) to and from my global client, namely: ( ***@yahoo.com), using PHP and Apache. A snippet from my php.ini file looks like:
Code:
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = /usr/sbin/sendmail -i -t
sendmail_from = example@yahoo.com
Now, I never could get this working in Windows, let alone Linux. I could do with it working though.
I am looking to send emails from cron for backup information. However, all the programs I have found (mail, mutt) require the password in plain text. Does anyone know of a more secure method? In fact, if it is only sending, is there a way to do this without logging into an account? What is the simplest way, without making it check emails too?
View 3 Replies View Relatedi've been trying to send emails to my gmail account and it works now. using postfix, how do i make nagios send notifications to my gmail account when any services go down?i saw this commands for email in commands.cfg:
Code:
# 'notify-host-by-email' command definition
define command{
command_name notify-host-by-email
command_line /usr/bin/printf "%b" "***** Nagios *****
[code]....
i know that will be the format of the email if i can receive it.
I am using postfix as my MTA. It is running on ubuntu and I am administering the system through webmin, try as I might with different configurations, I can't send email from a client. when I look in the mail.log i only find:
Jul 26 15:31:00 alpha postfix/smtpd[17430]: connect from unknown[99.153.1.214]
Jul 26 15:31:31 alpha postfix/smtpd[17430]: lost connection after UNKNOWN from unknown[99.153.1.214]
Jul 26 15:31:31 alpha postfix/smtpd[17430]: disconnect from unknown[99.153.1.214]
I'm trying to configure postfix to send e-mails but it is not receiving requests from networks different from its localnet (192.168.1.0/24). Iptables is like this:
Code:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- 10.0.0.0/8 anywhere
ACCEPT all -- localnet/24 anywhere
ACCEPT udp -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
A part of main.cf is like this:
Code:
biff = no
append_dot_mydomain = no
delay_warning_time = 4h .....
I'm running Evolution 2.30.3 on fc13.x64 and I've been getting a funny problem for a while, that now really annoys me:
even if the settings for my hotmail account are correct, Evolution will ask for the password every time I log in. Also, since I keep it open, after a while (~30 minutes) it "forgets" somehow the password and asks for the password again. This time, anyway, it won't work and I have to reset Evolution again.
Bonus question: even if hotmail is configured correctly for receiving and sending (smtp.live.com etc.), it won't send email, but will remain stuck on "sending".
How to seup nagios to send email to mails in MS Exchange server ?
View 3 Replies View RelatedEvolution works fine for receiving mail, but I cant send anything.When i hit "send/receive" itll receive but ask for smtp password every single time. My understanding is that the password is your email password, but it wont accept it.
View 4 Replies View Related