Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Mail Authentication

    Is there a way to post authentication settings with the mail()
    function for sending emails out through a server that requires login?
    bvh Guest

  2. Similar Questions and Discussions

    1. ASP.Net Forms authentication with basic authentication popup
      Relatively new to ASP.Net but have a strange problem. My site uses forms authentication for a large administration section however after the user...
    2. Authentication ticket, cookieless, forms authentication?
      Hi. I want to use Forms Authentication, cookieless. The issue is setting the Authentication Ticket without using cookies (!) That is, the...
    3. Apple Mail and SMTP Authentication
      Does anyone have a solution (or encountered) the problem below: Running Mail, I connect to an IpSwitch IMail server using SMTP Authentication. I...
    4. Mail Authentication or redirection of SMTP server
      Here is my problem. When I send emails locally theough the Exchange Server I have no problems sending mail. When I try to send emails to another...
    5. Mail or Authentication or redirection of SMTP
      Here is my problem. When I send emails locally theough the Exchange Server I have no problems sending mail. When I try to send emails to another...
  3. #2

    Default Re: Mail Authentication

    Hello,

    On 10/22/2004 07:13 PM, bvh wrote:
    > Is there a way to post authentication settings with the mail()
    > function for sending emails out through a server that requires login?
    No, the mail() function does not support setting the authentication.

    You mayu want to use this class that comes with a wrapper function named
    smtp_mail() that works exactly like the mail() function but lets you set
    the SMTP authentication credentials, so you can solve your problem with
    minimal changes in your scripts (just change mail() calls to smtp_mail() ).

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

    You also need these other classes for the actual SMTP delivery and to
    perform SMTP authentication:

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

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

    --

    Regards,
    Manuel Lemos

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

    PHP Reviews - Reviews of PHP books and other products
    [url]http://www.phpclasses.org/reviews/[/url]

    Metastorage - Data object relational mapping layer generator
    [url]http://www.meta-language.net/metastorage.html[/url]
    Manuel Lemos Guest

Posting Permissions

  • You may not post new threads
  • You may 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