Thread: Email support
View Single Post
Old October 27th, 2009, 02:32 PM   #12 (permalink)
ktmtalk
Member
Verified Customer
 
Join Date: Oct 2009
Posts: 111
I am writing a "force php to use external smtp server" routine that I will
be happy to share if anyone wants it.

WHY?? If the server is windoze, an external smtp server can be added to the php.ini.

But if the server is *nix, or if the server is a shared host, it cannot be changed for the owner of PhotoPost Classifieds.

The problem I am seeing is in: in pp-inc.php,

Code:
Content visible to verified customers only.
There is a line near the top of that function that does this:
Code:
Content visible to verified customers only.
What I am seeing is that the "From: " is causing a problem if the admin has not selected "html" because there is another line just below the html check
that does this:

<if not html> (psuedo code)
Code:
Content visible to verified customers only.
and results in the "sendfrom" email address now becoming:

"From: myemail@dot.com" instead of : "myemail@dot.com"

My new email function works fine if I strip the "From: " but obviously dies if I leave it in.

Am I wrong in my thinking?


-pat-
ktmtalk is offline   Reply With Quote