473,813 Members | 3,014 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sendmail function in php

121 New Member
instead of mail function can i use sendmail in php for sending mail.
Dec 20 '07 #1
5 1419
Ranjan kumar Barik
95 New Member
instead of mail function can i use sendmail in php for sending mail.
Hi,
As per my knowledge I don't know if any send mail function is there in php. If you are telling about user defined functions then it's ok.

Happy Day!
:)
Dec 21 '07 #2
ak1dnar
1,584 Recognized Expert Top Contributor
instead of mail function can i use sendmail in php for sending mail.
http://www.swiftmailer.org/
http://sourceforge.net/projects/phpmailer
Check this out please. These are the replacements for php native mail() function.

EDIT: And in PHP there is no native function named "sendmail"
Dec 22 '07 #3
Ranjan kumar Barik
95 New Member
Could please give some idea about how this swiftmail works.

Thanks!
Merry Christ mass!
:)
Dec 22 '07 #4
ak1dnar
1,584 Recognized Expert Top Contributor
Could please give some idea about how this swiftmail works.

Thanks!
Merry Christ mass!
:)
There is a nice documentation here my friend.
http://www.swiftmailer .org/wikidocs/
Dec 22 '07 #5
Ranjan kumar Barik
95 New Member
Thanks a lot.
Have a Goooooood day!
:)
Dec 22 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
7689
by: lawrence | last post by:
We're installing a new server at the office and this will be the first server we set up from which we host our website. We got tired of dealing with Interland and decided to bring our hosting in-house. The guy doing most of the work struggled with sendmail for awhile and then gave up. Now he's installing Postit, or Postfix, or whatever it's called. Does the PHP mail function depend on sendmail, or can it use any mta software?
0
4483
by: Wayno | last post by:
Hoping someone can help me out with this problem. First problem, is I am unable to view my php error log. In my php.ini I have my log in /var/www/logs/php_error_log. However, it has remained empty. Secondly, my sendmail works fine from command prompt. However, when trying to send mail through a php script (I have tried a couple), it says it is succesfull, but my mail logs show nothing going out. No error messages. Can someone take a look...
2
17185
by: Babaloo | last post by:
Hello, I am having a problem with PHP 4.2.2 and RH 8. PHP is working fine except email. I have a test script to send mail, I have sendmail_path = '/usr/lib/sendmail -t -i' set in php.ini, sendmail can send mail from the command line but if I use the script I get the following error on the http log file:
3
4810
by: Andrew Benjamin | last post by:
Hi I have a standalone machine running Mandrake 10 with apache server and PHP installed. The PHP mail() function is working but very slowly. It takes about 10-20 seconds to send a single email. Can anyone advise me on what could be causing this? I have tried using mail() on other apache setups and the response time has been much faster.
1
8589
by: IamtheEvster | last post by:
I'm working with a LAMP platform - PHP 5.1.4, MySQL 5.0.21, RedHat Enterprise 4... Running Sendmail 8.x. I'm using the PHP mail() function to send some confirmation emails out when a user submits a form. My understanding is that this is basically a wrapper for sendmail (specifically, sendmail -t -i). In my development environment, this works great. Everything is fast and wonderful.
3
2476
by: swangdb | last post by:
I have a Sun Server running Solaris 10 and Sendmail 8.13.7. I have Majordomo and Listproc installed on this server and they work. I have several production majordomo and listproc mailing lists installed on this server and they work. I am trying to get Mailman to work on this server and so far, no luck. I installed the software (Mailman 2.1.8 and Python 2.4.3), reconfigured mm_cfg.py, started the software, added the cron entries,...
2
1917
by: Phil Latio | last post by:
I understand (perhaps wrongly) that the mail() function relies on Sendmail being installed on the server. However I am wanting to run Postfix and Sendmail will not be loaded. Ideally I would have liked to have setup a seperate machine as an email server but the machine I was about to use has suddenly developed a major dislike for just about any memory stick I insert and therefore is not operational.
11
1982
by: Taras_96 | last post by:
Hi all, The PHP manual states that: "The Windows implementation of mail() differs in many ways from the Unix implementation. First, it doesn't use a local binary for composing messages but only operates on direct sockets which means a MTA is needed listening on a network socket (which can either on the localhost or a remote machine). " Does this mean that the sendmail binary is NOT needed on windows?
13
1968
by: RJ_32 | last post by:
looking here: http://www.devarticles.com/c/a/PHP/Getting-Intimate-With-PHPs-Mail-Function/2/ it says that I have to be careful about what I send to the sendmail process via popen(). Does that also apply to the Subject: line? (I'm opening a process rather than simply using mail() so that I can set the return-path header with sendmail's -f switch and catch bounces.) My From: and To: are hardcoded and *not* taken from any webform...
3
3401
by: digitaldiva | last post by:
Hi I am new here and once upon a time I worked with Perl, now I am trying again and need some help: I wrote a Perl script a few years ago that opened an order entry TXT file and sent each customer with an email address a confirmation email in html or txt. Simple enough and very effective. Now I am editing this script to send a general email blast on a new computer... I have ActivePerl 5.10.0 Build 1003 installed. I downloaded...
0
10669
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10408
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10141
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9225
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6897
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5707
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3886
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.