HI,
i need help,
i have try to send email in localhost using php.
so i have search to google(how to send email in localhost using php),
found so many site,
i have choose this sites
http://stackoverflow.com/questions/6923468/how-to-send-email-from-localhost-using-php-on-linux
http://www.nixtutor.com/linux/send-mail-with-gmail-and-ssmtp/
in initial step
i have type this commends on terminal.
sudo apt-get install ssmtp
but its will display only in
zapota1 at zapota1-desktop:/etc$ sudo apt-get install ssmtp
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6 : Depends: libgcc1 but it is not going to be installed
Depends: tzdata but it is not going to be installed
ssmtp : Depends: libgnutls-openssl27 but it is not going to be installed
Depends: debconf but it is not going to be installed or
debconf-2.0
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
and i also use below these code also
zapota1 at zapota1-desktop:/etc$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
apt-utils coreutils debconf debconf-i18n dpkg libacl1 libapt-inst1.4
libapt-pkg4.12 libattr1 libbz2-1.0 libdb5.1 libgcc1 liblocale-gettext-perl
liblzma5 libselinux1
libstdc++6 libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl perl-base tar tzdata xz-utils zlib1g
Suggested packages:
debconf-doc debconf-utils whiptail dialog gnome-utils
libterm-readline-gnu-perl libgtk2-perl libnet-ldap-perl libqtgui4-perl
libqtcore4-perl apt bzip2 ncompress
xz-lzma
The following NEW packages will be installed:
apt-utils coreutils debconf debconf-i18n dpkg libacl1 libapt-inst1.4
libapt-pkg4.12 libattr1 libbz2-1.0 libdb5.1 libgcc1 liblocale-gettext-perl
liblzma5 libselinux1
libstdc++6 libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl perl-base tar tzdata xz-utils zlib1g
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/9,305 kB of archives.
After this operation, 29.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
dpkg: regarding .../libgcc1_1%3a4.6.3-1ubuntu5_i386.deb containing libgcc1,
pre-dependency problem:
libgcc1 pre-depends on multiarch-support
multiarch-support is unpacked, but has never been configured.
dpkg: error processing
/var/cache/apt/archives/libgcc1_1%3a4.6.3-1ubuntu5_i386.deb (--unpack):
pre-dependency problem - not installing libgcc1
No apport report written because MaxReports is reached already
Errors were
encountered while processing:
/var/cache/apt/archives/libgcc1_1%3a4.6.3-1ubuntu5_i386.deb
E: Internal Error, No file name for libc6
W: Could not perform immediate configuration on 'multiarch-support:i386'.
Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
E: Sub-process /usr/bin/dpkg returned an error code (1)
its will we displayed only for errors.
please any one help me...