freelanceprogrammers.org Forum Index » PHP

how send email using smtp server


View user's profile Post To page top
happen_se Posted: Tue Sep 06, 2005 8:36 am


Joined: 06 Sep 2005

Posts: 1
how send email using smtp server
hi

I want to send email by php but i want to use an smtp server like gmail

I have pop3 account at this and my host dosent have smtp server.

and I want to use gmail. Is there anyway!?

tanks
Reply with quote
Send private message
View user's profile Post To page top
chamberxlabs Posted: Tue Sep 06, 2005 7:39 pm


Joined: 06 Sep 2005

Posts: 2
how send email using smtp server
php uses sendmail (by default) not smtp

On 9/5/05, happen_se <happen_se@...> wrote:
>
> hi
>
> I want to send email by php but i want to use an smtp server like gmail
>
> I have pop3 account at this and my host dosent have smtp server.
>
> and I want to use gmail. Is there anyway!?
>
> tanks
>
>
>
>
>
>
> PHP Data object relational mapping generator -
> http://www.meta-language.net/
>
>
>
> SPONSORED LINKS
> Php
developer<http://groups.yahoo.com/gads?t=ms&k=Php+developer&w1=Php+developer&w2=
Basic+programming+language&w3=Computer+programming+languages&w4=Programming+lang
uages&w5=Object+oriented+programming+tutorial&w6=Java+programming+language&c=6&s
=187&.sig=E54kHe-H0HpEKMD07V3RGw> Basic
> programming
language<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Php+d
eveloper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Prog
ramming+languages&w5=Object+oriented+programming+tutorial&w6=Java+programming+la
nguage&c=6&s=187&.sig=VnuKkeCAxdrAAE9-23d7Qg> Computer
> programming
languages<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=
Php+developer&w2=Basic+programming+language&w3=Computer+programming+languages&w4
=Programming+languages&w5=Object+oriented+programming+tutorial&w6=Java+programmi
ng+language&c=6&s=187&.sig=K_RkoUAE9oNBZpCd1axeNg> Programming
>
languages<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Php+devel
oper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Programm
ing+languages&w5=Object+oriented+programming+tutorial&w6=Java+programming+langua
ge&c=6&s=187&.sig=tRU26qhza3U-Fhx7pb49-g> Object
> oriented programming
tutorial<http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming+tutoria
l&w1=Php+developer&w2=Basic+programming+language&w3=Computer+programming+languag
es&w4=Programming+languages&w5=Object+oriented+programming+tutorial&w6=Java+prog
ramming+language&c=6&s=187&.sig=JkfckoC1oFw4w6if5c6YZw> Java
> programming
language<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Php+de
veloper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Progr
amming+languages&w5=Object+oriented+programming+tutorial&w6=Java+programming+lan
guage&c=6&s=187&.sig=sUKtmeOhO0DJbtcEeyUPNw>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group "php-objects<http://groups.yahoo.com/group/php-objects>"
> on the web.
> - To unsubscribe from this group, send an email to:
>
php-objects-unsubscribe@yahoogroups.com<php-objects-unsubscribe@yahoogroups.com?
subject=Unsubscribe>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>


[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
chamberxlabs Posted: Tue Sep 06, 2005 7:46 pm


Joined: 06 Sep 2005

Posts: 2
how send email using smtp server
/me slaps my hand for pressing send too quick...
to use an external smtp server you will have to reconfigure php... ut i`m
guessing since you said "your host" that you don`t have access to the
php.ini file...

A typical configuration might look like:
[mail function]
SMTP = smtp.isp.net <http://smtp.isp.net>
sendmail_from = me@...

On 9/6/05, Patrick McGuire <insidenothing@...> wrote:
>
> php uses sendmail (by default) not smtp
>
> On 9/5/05, happen_se <happen_se@...> wrote:
> >
> > hi
> >
> > I want to send email by php but i want to use an smtp server like gmail
> >
> > I have pop3 account at this and my host dosent have smtp server.
> >
> > and I want to use gmail. Is there anyway!?
> >
> > tanks
> >
> >
> >
> >
> >
> >
> > PHP Data object relational mapping generator -
> > http://www.meta-language.net/
> >
> >
> >
> > SPONSORED LINKS
> > Php
developer<http://groups.yahoo.com/gads?t=ms&k=Php+developer&w1=Php+developer&w2=
Basic+programming+language&w3=Computer+programming+languages&w4=Programming+lang
uages&w5=Object+oriented+programming+tutorial&w6=Java+programming+language&c=6&s
=187&.sig=E54kHe-H0HpEKMD07V3RGw> Basic
> > programming
language<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Php+d
eveloper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Prog
ramming+languages&w5=Object+oriented+programming+tutorial&w6=Java+programming+la
nguage&c=6&s=187&.sig=VnuKkeCAxdrAAE9-23d7Qg> Computer
> > programming
languages<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=
Php+developer&w2=Basic+programming+language&w3=Computer+programming+languages&w4
=Programming+languages&w5=Object+oriented+programming+tutorial&w6=Java+programmi
ng+language&c=6&s=187&.sig=K_RkoUAE9oNBZpCd1axeNg> Programming
> >
languages<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Php+devel
oper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Programm
ing+languages&w5=Object+oriented+programming+tutorial&w6=Java+programming+langua
ge&c=6&s=187&.sig=tRU26qhza3U-Fhx7pb49-g> Object
> > oriented programming
tutorial<http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming+tutoria
l&w1=Php+developer&w2=Basic+programming+language&w3=Computer+programming+languag
es&w4=Programming+languages&w5=Object+oriented+programming+tutorial&w6=Java+prog
ramming+language&c=6&s=187&.sig=JkfckoC1oFw4w6if5c6YZw> Java
> > programming
language<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Php+de
veloper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Progr
amming+languages&w5=Object+oriented+programming+tutorial&w6=Java+programming+lan
guage&c=6&s=187&.sig=sUKtmeOhO0DJbtcEeyUPNw>
> > ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> > - Visit your group
"php-objects<http://groups.yahoo.com/group/php-objects>"
> > on the web.
> > - To unsubscribe from this group, send an email to:
> >
php-objects-unsubscribe@yahoogroups.com<php-objects-unsubscribe@yahoogroups.com?
subject=Unsubscribe>
> > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> > ------------------------------
> >
>
>


[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
eaguilac Posted: Tue Sep 06, 2005 8:03 pm


Joined: 06 Sep 2005

Posts: 2
how send email using smtp server
See phpmailer...

http://www.programacion.com/php/articulo/phpmailer/





Atte.

Esteban Aguila

Informatica M.A.S.

www.mas.cl



_____

De: php-objects@yahoogroups.com [mailto:php-objects@yahoogroups.com] En
nombre de Patrick McGuire
Enviado el: Martes, 06 de Septiembre de 2005 10:47
Para: php-objects@yahoogroups.com
Asunto: Re: [php-objects] how send email using smtp server



/me slaps my hand for pressing send too quick...
to use an external smtp server you will have to reconfigure php... ut i`m
guessing since you said "your host" that you don`t have access to the
php.ini file...

A typical configuration might look like:
[mail function]
SMTP = smtp.isp.net <http://smtp.isp.net>
sendmail_from = me@...

On 9/6/05, Patrick McGuire <insidenothing@...> wrote:
>
> php uses sendmail (by default) not smtp
>
> On 9/5/05, happen_se <happen_se@...> wrote:
> >
> > hi
> >
> > I want to send email by php but i want to use an smtp server like gmail
> >
> > I have pop3 account at this and my host dosent have smtp server.
> >
> > and I want to use gmail. Is there anyway!?
> >
> > tanks
> >
> >
> >
> >
> >
> >
> > PHP Data object relational mapping generator -
> > http://www.meta-language.net/
> >
> >
> >
> > SPONSORED LINKS
> > Php developer<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Php+developer&w1=Php+developer&w2=Basic
+programming+language&w3=Computer+programming+languages&w4=Programming+langu
ages&w5=Object+oriented+programming+tutorial&w6=Java+programming+language&c=
6&s=187&.sig=E54kHe-H0HpEKMD07V3RGw>
&k=Php+developer&w1=Php+developer&w2=Basic+programming+language&w3=Computer+
programming+languages&w4=Programming+languages&w5=Object+oriented+programmin
g+tutorial&w6=Java+programming+language&c=6&s=187&.sig=E54kHe-H0HpEKMD07V3RG
w> Basic
> > programming language<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Php+devel
oper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Prog
ramming+languages&w5=Object+oriented+programming+tutorial&w6=Java+programmin
g+language&c=6&s=187&.sig=VnuKkeCAxdrAAE9-23d7Qg>
&k=Basic+programming+language&w1=Php+developer&w2=Basic+programming+language
&w3=Computer+programming+languages&w4=Programming+languages&w5=Object+orient
ed+programming+tutorial&w6=Java+programming+language&c=6&s=187&.sig=VnuKkeCA
xdrAAE9-23d7Qg> Computer
> > programming languages<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Php+d
eveloper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=
Programming+languages&w5=Object+oriented+programming+tutorial&w6=Java+progra
mming+language&c=6&s=187&.sig=K_RkoUAE9oNBZpCd1axeNg>
&k=Computer+programming+languages&w1=Php+developer&w2=Basic+programming+lang
uage&w3=Computer+programming+languages&w4=Programming+languages&w5=Object+or
iented+programming+tutorial&w6=Java+programming+language&c=6&s=187&.sig=K_Rk
oUAE9oNBZpCd1axeNg> Programming
> > languages<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Php+developer&
w2=Basic+programming+language&w3=Computer+programming+languages&w4=Programmi
ng+languages&w5=Object+oriented+programming+tutorial&w6=Java+programming+lan
guage&c=6&s=187&.sig=tRU26qhza3U-Fhx7pb49-g>
&k=Programming+languages&w1=Php+developer&w2=Basic+programming+language&w3=C
omputer+programming+languages&w4=Programming+languages&w5=Object+oriented+pr
ogramming+tutorial&w6=Java+programming+language&c=6&s=187&.sig=tRU26qhza3U-F
hx7pb49-g> Object
> > oriented programming tutorial<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming+tutorial&w1
=Php+developer&w2=Basic+programming+language&w3=Computer+programming+languag
es&w4=Programming+languages&w5=Object+oriented+programming+tutorial&w6=Java+
programming+language&c=6&s=187&.sig=JkfckoC1oFw4w6if5c6YZw>
&k=Object+oriented+programming+tutorial&w1=Php+developer&w2=Basic+programmin
g+language&w3=Computer+programming+languages&w4=Programming+languages&w5=Obj
ect+oriented+programming+tutorial&w6=Java+programming+language&c=6&s=187&.si
g=JkfckoC1oFw4w6if5c6YZw> Java
> > programming language<http://groups.yahoo.com/gads?t=ms
<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Php+develo
per&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Progr
amming+languages&w5=Object+oriented+programming+tutorial&w6=Java+programming
+language&c=6&s=187&.sig=sUKtmeOhO0DJbtcEeyUPNw>
&k=Java+programming+language&w1=Php+developer&w2=Basic+programming+language&
w3=Computer+programming+languages&w4=Programming+languages&w5=Object+oriente
d+programming+tutorial&w6=Java+programming+language&c=6&s=187&.sig=sUKtmeOhO
0DJbtcEeyUPNw>
> > ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> > - Visit your group
"php-objects<http://groups.yahoo.com/group/php-objects>"
> > on the web.
> > - To unsubscribe from this group, send an email to:
> >
php-objects-unsubscribe@yahoogroups.com<php-objects-unsubscribe@yahoogroups.
com?subject=Unsubscribe>
> > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> > ------------------------------
> >
>
>


[Non-text portions of this message have been removed]



PHP Data object relational mapping generator - http://www.meta-language.net/





_____

YAHOO! GROUPS LINKS



* Visit your group "php-objects
<http://groups.yahoo.com/group/php-objects> " on the web.

* To unsubscribe from this group, send an email to:
php-objects-unsubscribe@yahoogroups.com
<mailto:php-objects-unsubscribe@yahoogroups.com?subject=Unsubscribe>

* Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.



_____



[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
mallemos Posted: Wed Sep 07, 2005 2:28 am


Joined: 10 May 2005

Posts: 3
how send email using smtp server
Hello,

--- In php-objects@yahoogroups.com, "happen_se" <happen_se@y...> wrote:
> I want to send email by php but i want to use an smtp server like gmail
> I have pop3 account at this and my host dosent have smtp server.
> and I want to use gmail. Is there anyway!?

If you are not using Windows, you can`t use the mail() function.

Under Linux/Unix, you can use try this class that comes with a wrapper
named smtp_mail() that emulates the mail() function, but lets you
route the message via a SMTP server of choice:

http://www.phpclasses.org/mimemessage

You also need this:

http://www.phpclasses.org/smtpclass

If you need to perform SMTP authentication, you also need to use this
in conjunction:

http://www.phpclasses.org/sasl


Regards,
Manuel Lemos
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help