473,383 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

How to send mail from php script !

How do i send mail from php? and which the best email server for php platform?
Jan 2 '10 #1

✓ answered by Dormilich

PHP does not care about the mail server. it wouldn’t even “care” if the connection failed.

sending emails by means of PHP, I recommend the SwiftMailer library.

11 1969
Dormilich
8,658 Expert Mod 8TB
PHP does not care about the mail server. it wouldn’t even “care” if the connection failed.

sending emails by means of PHP, I recommend the SwiftMailer library.
Jan 2 '10 #2
But what are the steps for using SwiftMailer ? please give some code example ?
Jan 2 '10 #3
Dormilich
8,658 Expert Mod 8TB
I don’t need to give a code example, because the SwiftMailer documentation is doing this already.
Jan 2 '10 #4
PHPMailer is also a handy tool. Usually I just use mail() though. Simple, clean, efficient and very customizable.
Jan 2 '10 #5
Thanks friend for my doubt ?
using Swiftmailer can we recieive emails
Jan 2 '10 #6
Dormilich
8,658 Expert Mod 8TB
using Swiftmailer can we recieive emails
neither mail function nor (most) mail libraries do that, since you explicitly require a mail server for that.
Usually I just use mail() though. Simple, clean, efficient and very customizable.
sorry, but *pffff*
Jan 2 '10 #7
Thanks friend ? i want to become ur friends will you accept my friendship ?
Jan 2 '10 #8
I when ever use header in php ? i got an error sating that header already send please provide this solution ?
thanks in advanced
Jan 2 '10 #9
Dormilich
8,658 Expert Mod 8TB
See this unfinished article. (borrowed from Markus)
Jan 2 '10 #10
Thanks friend for helping me ?
How to make write protected cd's and dvd's
Jan 2 '10 #11
Dormilich
8,658 Expert Mod 8TB
simply close the disc for further writing.
Jan 2 '10 #12

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

Similar topics

1
by: Gernot Hillier | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi! I'm the developer of a Linux ISDN application which uses embedded Python for controlling the communication. It starts several threads (i.e....
40
by: ian | last post by:
Hi, I'm a newbie (oh no I can here you say.... another one...) How can I get Python to send emails using the default windows email client (eg outlook express)? I thought I could just do the...
3
by: Erik T. Nomad | last post by:
I've created a link that will enable the reader of any page on my website to click it, enter an e-mail address, and have it arrive in that inbox with a hyperlink to the site. However, I'm...
15
by: Steve Horrillo | last post by:
I can't figure out why this script won't insert the subject in the email and why can't I control the font and size being used? I'm not sure where to post this. Let me know where if this is OT. ...
6
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I...
1
by: Miguel Dias Moura | last post by:
Hello, Can you help me out in making this work? What I want is as simple as sending form values to an email. The code I am using is the following:
5
by: Andreas | last post by:
I am working with three computers, my developing computer, a Web Server and a Mail Server (Exchange). I am trying to send a email from the Web Server via the Mail Server to a valid email address...
11
by: fdu.xiaojf | last post by:
Hi, I just want to send a very simple email from within python. I think the standard module of smtpd in python can do this, but I haven't found documents about how to use it after googleing....
2
krik
by: krik | last post by:
Hello, I would like to send a mail via a script with customized From field or at least with Reply-To. This email is sent by a monitoring server via a cron job and the users should see this mail as...
1
by: toretto | last post by:
Hello, I have a script php that I use on my website to permit visitors to send me some email with some data, this is the html table code: <table width="730" border="0" cellpadding="0"...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.