Professional Web Applications Themes

Sending e-mail via PHP - PHP Development

Hi Is there possible to send e-mail from simple form when the server doesn't have a domain name, and in the internet only can be seen using it IP address ? The mail() function will work correctly ? And if not what would you suggest ? Regards Domin...

  1. #1

    Default Sending e-mail via PHP

    Hi

    Is there possible to send e-mail from simple form when the server doesn't
    have a domain name, and in the internet only can be seen using it IP address
    ? The mail() function will work correctly ?
    And if not what would you suggest ?

    Regards

    Domin


    Domin Guest

  2. #2

    Default Re: Sending e-mail via PHP

    Domin wrote:
    > Hi
    >
    > Is there possible to send e-mail from simple form when the server doesn't
    > have a domain name, and in the internet only can be seen using it IP address
    > ? The mail() function will work correctly ?
    > And if not what would you suggest ?
    There is a nice PHP PEAR class for sending mail using SMTP :)

    [url]http://pear.php.net/mail_mime[/url]

    Regards,
    Johan

    Johan Holst Nielsen Guest

  3. #3

    Default Re: Sending e-mail via PHP

    Thank you.
    I'll try it.

    Domin


    Domin Guest

  4. #4

    Default Re: Sending e-mail via PHP

    *** Domin wrote/escribió (Thu, 27 Nov 2003 07:39:42 +0100):
    > Is there possible to send e-mail from simple form when the server doesn't
    > have a domain name, and in the internet only can be seen using it IP address
    > ? The mail() function will work correctly ?
    All you need is a working SMTP server you have permission to use. It can be
    a local server or a remote one. If you have a local server without a domain
    name it won't be able to *receive* mail, but it'll certainly send it.

    --
    --
    -- Álvaro G. Vicario - Burgos, Spain
    --
    Alvaro G Vicario Guest

  5. #5

    Default Re: Sending e-mail via PHP

    Hello,

    On 11/27/2003 04:39 AM, Domin wrote:
    > Is there possible to send e-mail from simple form when the server doesn't
    > have a domain name, and in the internet only can be seen using it IP address
    You can, but many servers will reject or discard the messages you send.

    > ? The mail() function will work correctly ?
    > And if not what would you suggest ?
    You can always try this class that comes with a wrapper function named
    smtp_mail() that acts exactly like the mail() except that it sends the
    messages directly to a SMTP server of the recipients using the direct
    delivery mode.

    [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

Similar Threads

  1. sending mail without the mail client popping up
    By Obscurr in forum PHP Development
    Replies: 2
    Last Post: October 31st, 01:52 PM
  2. #25357 [Com]: Mail() function is loosing cahracters when sending mail
    By dj_canard at yahoo dot com in forum PHP Development
    Replies: 0
    Last Post: September 24th, 02:10 PM
  3. #25357 [NEW]: Mail() function is loosing cahracters when sending mail
    By pjsmith at microtech dot co dot gg in forum PHP Development
    Replies: 0
    Last Post: September 2nd, 11:32 AM
  4. sending mail with PWS
    By L. Goffin in forum ASP
    Replies: 1
    Last Post: September 1st, 09:16 PM
  5. Sending Mail
    By - Steve - in forum ASP
    Replies: 5
    Last Post: August 14th, 06:29 PM

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