Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

sending an e-mail with php using smtp

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Webdav gives 500 error  
Author Message
abelard

External


Since: Jun 12, 2005
Posts: 5



(Msg. 1) Posted: Sun Jun 12, 2005 7:42 am
Post subject: sending an e-mail with php using smtp
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have IIS6 on windows enterprise server 2003 on a virtual machine, hosting a
couple of web and ftp sites (which work fine). I have a php form (the code
works because I have tested it on a different server) which I want to send to
my e-mail address. Can some-one point me in the right direction setting up
the SMTP configuration.
--
A+

 >> Stay informed about: sending an e-mail with php using smtp 
Back to top
Login to vote
Kristofer Gafvert [MVP]

External


Since: May 28, 2005
Posts: 210



(Msg. 2) Posted: Sun Jun 12, 2005 7:49 am
Post subject: Re: sending an e-mail with php using smtp [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What SMTP settings does your form need?


--
Regards,
Kristofer Gafvert (IIS MVP)
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My Articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>


abelard wrote:

 > I have IIS6 on windows enterprise server 2003 on a virtual machine,
hosting a
 > couple of web and ftp sites (which work fine). I have a php form (the
code
 > works because I have tested it on a different server) which I want to
send to
 > my e-mail address. Can some-one point me in the right direction setting
up
 > the SMTP configuration.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: sending an e-mail with php using smtp 
Back to top
Login to vote
abelard

External


Since: Jun 12, 2005
Posts: 5



(Msg. 3) Posted: Sun Jun 12, 2005 8:38 am
Post subject: Re: sending an e-mail with php using smtp [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I am sorry but I don't understand the question. A couple of days ago I went
through your tutorial at ilopia.com and it certainly helped my understanding
but did not solve the problem. I am not sure which domains to use, My e-mail
address or the site domain? Also I am using an external dns server (dns park)
and am not sure which which host to use in the mx record. How does the
hosted site send an e-mail on the smtp server, through my default domain or
an added site domain. Why should I need a mail-box? I am very confused and
any help would be gratefull received.
--
A+


"Kristofer Gafvert [MVP]" wrote:

 > What SMTP settings does your form need?
 >
 >
 > --
 > Regards,
 > Kristofer Gafvert (IIS MVP)
 > <a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My Articles and help
<font color=purple> > <a style='text-decoration: underline;' href="http://www.ilopia.com</font" target="_blank">www.ilopia.com</font</a>>
 >
 >
 > abelard wrote:
 >
  > > I have IIS6 on windows enterprise server 2003 on a virtual machine,
 > hosting a
  > > couple of web and ftp sites (which work fine). I have a php form (the
 > code
  > > works because I have tested it on a different server) which I want to
 > send to
  > > my e-mail address. Can some-one point me in the right direction setting
 > up
  > > the SMTP configuration.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: sending an e-mail with php using smtp 
Back to top
Login to vote
abelard

External


Since: Jun 12, 2005
Posts: 5



(Msg. 4) Posted: Sun Jun 12, 2005 8:45 am
Post subject: Re: sending an e-mail with php using smtp [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

just an e-mail address to send the variables to.
--
A+


"Kristofer Gafvert [MVP]" wrote:

 > What SMTP settings does your form need?
 >
 >
 > --
 > Regards,
 > Kristofer Gafvert (IIS MVP)
 > <a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My Articles and help
<font color=purple> > <a style='text-decoration: underline;' href="http://www.ilopia.com</font" target="_blank">www.ilopia.com</font</a>>
 >
 >
 > abelard wrote:
 >
  > > I have IIS6 on windows enterprise server 2003 on a virtual machine,
 > hosting a
  > > couple of web and ftp sites (which work fine). I have a php form (the
 > code
  > > works because I have tested it on a different server) which I want to
 > send to
  > > my e-mail address. Can some-one point me in the right direction setting
 > up
  > > the SMTP configuration.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: sending an e-mail with php using smtp 
Back to top
Login to vote
Kristofer Gafvert [MVP]

External


Since: May 28, 2005
Posts: 210



(Msg. 5) Posted: Sun Jun 12, 2005 9:02 am
Post subject: Re: sending an e-mail with php using smtp [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

How do you connect to the SMTP server? Do you send logon credentials?

One way to do is to allow relaying to the local machine (if the SMTP
server is running on the webserver). But if this will work for you is
impossible for me to tell, because i do not know how your code look like,
and what it requires.

To allow relay for the local machine, open properties for the SMTP server
and click on the Access tab. Click the relay button and add the IP of the
machine.

--
Regards,
Kristofer Gafvert (IIS MVP)
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My Articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>


abelard wrote:

 > just an e-mail address to send the variables to.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: sending an e-mail with php using smtp 
Back to top
Login to vote
Kristofer Gafvert [MVP]

External


Since: May 28, 2005
Posts: 210



(Msg. 6) Posted: Sun Jun 12, 2005 9:13 am
Post subject: Re: sending an e-mail with php using smtp [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I have no idea why you need an email-box (inbox). So far, you have said
that you want to send emails. That is done thru SMTP, and POP3 is not in
any way required.

To be able to tell you how you configure the SMTP server, we need to know
what configuration your code needs. You see, you can send logon
credentials to the SMTP server, accessing the server with either basic or
windows integrated access. You can be allowed to relay because your IP is
on the list that is allowed. Or the SMTP server is on a secure network and
everyone is allowed to relay.

What configuration your code needs to work is only the developer who knows.

Why not look at the configuration of the SMTP server on the server you
have verified that it works on? Or ask whomever has configured that SMTP
server what they have done?

--
Regards,
Kristofer Gafvert (IIS MVP)
<a style='text-decoration: underline;' href="http://www.gafvert.info" target="_blank">www.gafvert.info</a> - My Articles and help
<a style='text-decoration: underline;' href="http://www.ilopia.com" target="_blank">www.ilopia.com</a>


abelard wrote:

 > I am sorry but I don't understand the question. A couple of days ago I
went
 > through your tutorial at ilopia.com and it certainly helped my
understanding
 > but did not solve the problem. I am not sure which domains to use, My
e-mail
 > address or the site domain? Also I am using an external dns server (dns
park)
 > and am not sure which which host to use in the mx record. How does the
 > hosted site send an e-mail on the smtp server, through my default domain
or
 > an added site domain. Why should I need a mail-box? I am very confused
and
 > any help would be gratefull received.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: sending an e-mail with php using smtp 
Back to top
Login to vote
user1772

External


Since: Jun 10, 2004
Posts: 1807



(Msg. 7) Posted: Sun Jun 12, 2005 11:55 pm
Post subject: Re: sending an e-mail with php using smtp [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, 12 Jun 2005 07:42:03 -0700, "abelard"
<abelard.DeleteThis@discussions.microsoft.com> wrote:

 >I have IIS6 on windows enterprise server 2003 on a virtual machine, hosting a
 >couple of web and ftp sites (which work fine). I have a php form (the code
 >works because I have tested it on a different server) which I want to send to
 >my e-mail address. Can some-one point me in the right direction setting up
 >the SMTP configuration.

You said you followed the tutorials at ilopia.com, what are you having
trouble with? Have you tested your SMTP install? Try:

HOW TO: Test SMTP Services Manually in Windows Server 2003
<a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;323350" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;323350</a>

How was your connection set up on the server it worked on? Provided
SMTP is installed and working, the rest of the configuration lies in
your script. Try a PHP group for support there.

Jeff<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: sending an e-mail with php using smtp 
Back to top
Login to vote
abelard

External


Since: Jun 12, 2005
Posts: 5



(Msg. 8) Posted: Mon Jun 13, 2005 4:03 am
Post subject: Re: sending an e-mail with php using smtp [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The site I tested it on is hosted by some-one else. I just set up the php
file and pointed the e-mail to my e-mail address and tested it through my
internet connection. The point is, it works when I use my personal e-mail
address but not my domain e-mail address(es). Does the website send an
e-mail generated by the php file through the outlook express set up on the/my
server? If so, do the outlook settings have to be the same as the domain of
the site that generates the e-mail or can they be for any e-mail address?
Back to the fine toothcomb and the testing. Thanks for the help so far.
--
A+


"Jeff Cochran" wrote:

 > On Sun, 12 Jun 2005 07:42:03 -0700, "abelard"
 > <abelard.RemoveThis@discussions.microsoft.com> wrote:
 >
  > >I have IIS6 on windows enterprise server 2003 on a virtual machine, hosting a
  > >couple of web and ftp sites (which work fine). I have a php form (the code
  > >works because I have tested it on a different server) which I want to send to
  > >my e-mail address. Can some-one point me in the right direction setting up
  > >the SMTP configuration.
 >
 > You said you followed the tutorials at ilopia.com, what are you having
 > trouble with? Have you tested your SMTP install? Try:
 >
 > HOW TO: Test SMTP Services Manually in Windows Server 2003
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;323350</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;323350</font</a>>
 >
 > How was your connection set up on the server it worked on? Provided
 > SMTP is installed and working, the rest of the configuration lies in
 > your script. Try a PHP group for support there.
 >
 > Jeff
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: sending an e-mail with php using smtp 
Back to top
Login to vote
abelard

External


Since: Jun 12, 2005
Posts: 5



(Msg. 9) Posted: Mon Jun 13, 2005 1:22 pm
Post subject: RE: sending an e-mail with php using smtp [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

sorted it. The problem was my own stupidity, thanks for pointing it out!
--
A+


"abelard" wrote:

 > I have IIS6 on windows enterprise server 2003 on a virtual machine, hosting a
 > couple of web and ftp sites (which work fine). I have a php form (the code
 > works because I have tested it on a different server) which I want to send to
 > my e-mail address. Can some-one point me in the right direction setting up
 > the SMTP configuration.
 > --
 > A+<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: sending an e-mail with php using smtp 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Sending Mail in IIS/SMTP and getting 0xC00402C7 - Here is a paste of the file in bad mail.. Unable to deliver this message because the follow error was encountered: "This message is a delivery status notification that cannot be delivered.". The specific error code was 0xC00402C7. The messa...

Sending Mail Using IIS SMTP Server - Hi there, I would like to relay/send mail thru my IIS smtp virtual server using Netscape email....the problem is no matter how I configured the mail stuck in the queue and could not be sent out.... I'm a newbie to SMTP server and I've tried..

smtp service not sending mail - <font color=green> ; ;>>Whatever I do, I can't get the SMTP service working.</font> <font color=green> ; ;>>If I connect through telnet and send mail, the message pops up in the drop</font&...

Error Sending mail using IIS6 SMTP - Hi gurus, I am having an IIS6 server using it's SMTP virtual server to send mail. There are two mail items that cannot be sent and the error logged is: "The transport lost its connection to the server." The connection timeout is set to 10min...

Sending mail from ASP page - No local SMTP - I want to send mail from my ASP site but my ISP do not allow local mail servers. How do I do to relay mail through ISP:s mail server? Using IIS 5.0 on local machine. Lars
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]