Professional Web Applications Themes

php <-> sendmail problem - PHP Development

In article <Xns93C38982CD719MrSaintgmxde62.153.159.134>, MrSaint <MrSaintgmx.de> wrote: >i've got a problem with sending mail from php. sendmail works >fine from the shell (i need to add "-f [email]myemail.adre[/email]ss"). >so i thought adding this "-f [email]myemail.adre[/email]ss" to the >sendmail_path in php.ini would do it, but i was wrong. it >doesn't :( I also tried to add a fifth parameter to the mail >function ( "mail($recEmail,$subject, $message, $headers,"-f >myemail.adress");" ) but that doesn't work, too :( Have you checked php.ini?...

  1. #1

    Default Re: php <-> sendmail problem

    In article <Xns93C38982CD719MrSaintgmxde62.153.159.134>,
    MrSaint <MrSaintgmx.de> wrote:
    >i've got a problem with sending mail from php. sendmail works
    >fine from the shell (i need to add "-f [email]myemail.adre[/email]ss").
    >so i thought adding this "-f [email]myemail.adre[/email]ss" to the
    >sendmail_path in php.ini would do it, but i was wrong. it
    >doesn't :( I also tried to add a fifth parameter to the mail
    >function ( "mail($recEmail,$subject, $message, $headers,"-f
    >myemail.adress");" ) but that doesn't work, too :(
    Have you checked php.ini?

    Guest

  2. #2

    Default Re: php <-> sendmail problem

    Hello,

    On 07/25/2003 08:31 AM, MrSaint wrote:
    > i've got a problem with sending mail from php. sendmail works fine from the
    > shell (i need to add "-f [email]myemail.adre[/email]ss"). so i thought adding this "-f
    > [email]myemail.adre[/email]ss" to the sendmail_path in php.ini would do it, but i was
    > wrong. it doesn't :( I also tried to add a fifth parameter to the mail
    > function ( "mail($recEmail,$subject, $message, $headers,"-f
    > [email]myemail.adre[/email]ss");" ) but that doesn't work, too :(
    That may not work in safe mode. If you are not using safe mode, you may
    want to try this class that does what you need and works properly either
    using the mail() function or calling the sendmail program directly using
    a subclass:

    [url]http://www.phpclasses.org/mimemessage[/url]

    --

    Regards,
    Manuel Lemos

    Free ready to use OOP components written in PHP
    [url]http://www.phpclasses.org/[/url]

    Manuel Lemos Guest

  3. #3

    Default Re: php <-> sendmail problem

    [email]ellisno.spam[/email] () wrote in news:1059165102.52908spinics.net:
    >
    > Have you checked php.ini?
    >
    Everything is okay in the php.ini :/
    MrSaint Guest

  4. #4

    Default Re: php <-> sendmail problem

    Manuel Lemos <mlemosacm.org> wrote in
    news:bfuif3$j0qdn$2ID-138275.news.uni-berlin.de:
    > Hello,
    >
    >
    > That may not work in safe mode. If you are not using safe mode, you
    > may want to try this class that does what you need and works properly
    > either using the mail() function or calling the sendmail program
    > directly using a subclass:
    >
    > [url]http://www.phpclasses.org/mimemessage[/url]
    >
    THX. I've found this class by myself, but I would be happy if mail()
    function. How can I get out of this "safe mode"?
    MrSaint Guest

Similar Threads

  1. sendmail subject problem but with a twist
    By Chris Moore in forum Linux / Unix Administration
    Replies: 1
    Last Post: June 16th, 11:27 PM
  2. sendmail alias problem
    By shane Foster in forum Linux / Unix Administration
    Replies: 0
    Last Post: September 8th, 07:54 AM
  3. rpm -i sendmail problem
    By Wenjie in forum Linux Setup, Configuration & Administration
    Replies: 5
    Last Post: July 29th, 12:35 AM
  4. Sendmail problem in AIX 4.3.3
    By subhasbothra in forum AIX
    Replies: 1
    Last Post: July 19th, 08:09 AM
  5. sendmail problem
    By zico in forum Linux / Unix Administration
    Replies: 0
    Last Post: July 18th, 10:21 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139