kioto wrote:
> Richard Lynch wrote:
>
>>kioto wrote:
>>
>>
>>>Hi all, there is a way to create log-system to authenticate to smtp
>>>server ?
>>>
>>>
>>
>>I don't understand the "log-system" part of this...
>>
>>You can authenticate to SMTP, depending on what the SMTP server considers
>>suitable credentials.
>>
>>And you could write your script to log the results of that...
>>
>>I'm assuming SMTP servers usually have log files, and you could use PHP
>> to
>>read them and do something with them.
>>
>>Maybe repost your question with more detail of what you want to happen.
>>
>>
>>
> I want use my account with my provider to authenticate and use my SMTP to
> send e-mail with my-script. I want use the smtp to send various email
> and i want to try to log with my account. I want to try at the same system
> of pop3 connection to read mail-box
> For example:
> $box = imap_open("{my.host.it}INBOX", "user", "pasw");
>
> My provider  allow to use SMTP only from web-mail(web-browser) but not
> with
> external program then i want to try to develop log-in system to use my
> account
> with SMTP to send any e-mail.
> I hope that my language it's clearly to understand the concept.

If your host doesn't let you use SMTP directly (not through their webmail)
you probably can't do that: use SMTP directly.

But you maybe *can* use PHP with imap_open (as in your example) to do it.

When your host says "not use SMTP directly" they may mean:
"not use fsockopen to talk to SMTP and send email"

They probably do not mean:
"not use imap_open to manage your email"

You'll have to write your imap_open script and find out.

They *MIGHT* mean that you can't do it, and it *might* be based on which
machine your imap_open is saved on.  For example, my host has a different
computer/box for all email and the web-server is not the same computer at
all.

Fortunately, he lets me use imap_open from his web box to his email box --
I have a custom PHP script that throws out a lot of junk that spam
assassin doesn't catch, and I'd be in real trouble without that.

Easiest solution might be to find a new host, or even just put your IMAP
application and email on a new host, and start forwarding email from your
current host to that one.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to