A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 38 of 38

Thread: problem with php mailer

  1. #21
    Senior Member
    Join Date
    Aug 2001
    Posts
    161
    you set it to your out going mail server?? thats the one you need to set it to. if the are both the same then it should work. restart yur server after you do this to then test it.

    chuck

  2. #22
    Senior Member
    Join Date
    Jan 2001
    Posts
    131
    yes I set it to the smtp host specified in my Mail program and I restarted the server, didn't work.

  3. #23
    Senior Member
    Join Date
    Aug 2001
    Posts
    161
    what are your smtp servers?? i want to see if they work off my server. that is if you don't mind.

    chuck

  4. #24
    Senior Member
    Join Date
    Jan 2001
    Posts
    131
    its smtp.telus.net

  5. #25
    Senior Member
    Join Date
    Aug 2001
    Posts
    161
    whats your e-mail??

  6. #26
    Senior Member
    Join Date
    Aug 2001
    Posts
    161
    just so you know i am not trying to hack you our anything. just seeing if i can figure it out.

  7. #27
    Senior Member
    Join Date
    Jan 2001
    Posts
    131
    hatchway@telus.net

  8. #28
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi

    a) do you have that sendmail (mail server package) installed? check if there is /usr/sbin/sendmail or /usr/lib/sendmail
    b) how do you authenticate with your smtp server? Some systems use encrypted password exchange, and many are just pop b4 smtp (when you pick up your mails, the mail server will remember your current ip and allow you to send from that ip during the next xx minutes)

    Musicman

  9. #29
    Senior Member
    Join Date
    Aug 2001
    Posts
    161
    hey musiceman dose he need to fill this field out??


    sendmail_path =

    its in the php.ini file and it says unix only. so what you think.

  10. #30
    Senior Member
    Join Date
    Jan 2001
    Posts
    131
    musicman, I do have sendmail under /usr/sbin. it should be the encrypted password for authentication.



    [Edited by nia on 08-19-2002 at 05:56 AM]

  11. #31
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    sendmail_path is empty on my ssystem, so probably /usr/sbin/sendmail is the default value.
    If your mail program does use sendmail, everything should work. If it does its own sending, you will have to find out how to configure sendmail to do the right thing

    Musicman

  12. #32
    Senior Member
    Join Date
    Jan 2001
    Posts
    131
    musicman:

    how do I check to see if my Mail program uses sendmail or not?

    Thanx again.

  13. #33
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    maybe there is a bit of documentation...
    Normally, if setting the mail server is part of the actual mail program, it is likely that it handles sending itself. If you set it at an entirely different place, it would be split in a user and a transfer part.
    Of course, having the user side program transferring settings to the other program would be possible - and user friendly as well.
    If the mail program allows you to choose among several accounts when checking or sending mail, most likely it does not rely on sendmail.
    Also you could temporarily rename that sendmail program and see whether you still can send mail...


    Musicman

  14. #34
    Senior Member
    Join Date
    Mar 2002
    Posts
    161
    There is a posting in the PHP manual's errata section under the mail function that may be of some help:

    gory@alphasoft-bg.com
    05-Apr-2002 06:28

    Linux
    Known situation mail() not work, but why ???

    Try send a simple mail from shell
    root@alpha:~# sendmail xxx@yyy.com
    strange error ???

    collect: Cannot write ./dfg35A7vav022304 (bfcommit, uid=XXX, gid=XXX): Permission denied

    queueup: cannot create queue temp file ./tfg35A7vav022304, uid=XXX: Permission denied

    Don't mess with permissons on /var/spool
    /var/mail /var/spool/mqueue
    Just set them follow the instructions from sendmail readme
    It seems that when sendmail runs not like a daemon ( without -bd or -bD options ) it doesn't use corect QueueDirectory from /etc/mail/sendmail.cf

    The solution is

    set this line in php.ini
    ;For Unix only.You may supply arguments as well (default:'sendmail -t -i').

    sendmail_path="/usr/sbin/sendmail -t -i -OQueueDirectory=/var/spool/mqueue/"

    That's all. mail() now work fine ))
    Hope this will save up somebody's time, because i spent a lot of hours in digging and tearing my hair (and my mother will colapse if she hear what a words i use ))
    http://www.php.net/manual/en/ref.mail.php

    Hope that helps!
    Jerry

  15. #35
    Senior Member
    Join Date
    Jan 2001
    Posts
    131
    If the mail program allows you to choose among several accounts when checking or sending mail, most likely it does not rely on sendmail.
    Also you could temporarily rename that sendmail program and see whether you still can send mail...

    Musicman
    according to what you said, my mail program probably doesn't rely on sendmail cuz it allows different accounts. how can I rename the sendmail program?

    thanks again.

  16. #36
    Senior Member
    Join Date
    Aug 2001
    Posts
    161
    did you ever get you e-mail working??

  17. #37
    Senior Member
    Join Date
    Jan 2001
    Posts
    131
    hi greenelephant, no never got it working..it's too complicated for me so I just gave up. thanks for asking though

  18. #38
    Senior Member
    Join Date
    Aug 2001
    Posts
    161
    i was thinking that it might be you provider. they might have restricktions but i am not sure about it. you can try calling them and asking them see if they could help you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center