Re: sending mail from localhost to yahoo, gmail, hotmail, etc



Sandy wrote:
On Apr 8, 7:12 pm, undbund <undb...@xxxxxxxxx> wrote:
Hi I am creating a newsletter system. The software should run from
desktop computer (localhost) but be able to send email to anyone on
the internet. Can you guys give me some ideas on how to achieve this.

Usual and easiest way is to have two components: some kind of a mailer
(like sendmail) and your program submitting messages to it. So you
have sendmail installed and:

SMTP localhost
smtp_port 25

in your php.ini

in your program you call mail($email, $subject, $message) and sendmail
will take care of the rest

/sandy
http://myphpquiz.com/

Be aware that if you do not have ReverseDNS to the IP address of your mail server or you are using DynamicDNS from dsl, cablemodem or dialup it will more than likely be rejected. And if you use your ISP mail servers, if you send too many in an hour, my get flagged as a spammer and they will shut you down. Some ISP's have gone so far as to not allow port 25 outbound from these "dialup" ip addresses. AT&T recently instituted such practices - sounds like a lawsuit to me. If you use your "gmail" or your own domain in your FROM/REPLY TO: addresses, you must register as valid address coming from your ISP username/pwd also requiring SSL encryption of all mail. You will most likely need to locate php/sasl to use from your server.

A good mailer is phpmailer will do most of this, but you will need to add the ssl stuff..



.



Relevant Pages

  • Re: Not able to connect to linux mail server
    ... access the mail server and get my mails but not able to send. ... If this nmap show "closed" your sendmail is not running in your network ... card, only in your localhost, reconfigure sendmail... ... many distributions of linux. ...
    (comp.os.linux.networking)
  • Re: Not able to connect to linux mail server
    ... access the mail server and get my mails but not able to send. ... message i am getting is "Unable to connect to the smtp server". ... If this nmap show "closed" your sendmail is not running in your network ... card, only in your localhost, reconfigure sendmail... ...
    (comp.os.linux.networking)
  • Re: How to SMTP (Email) Server Fedora 6?
    ... This isn't something you'll find in any external sendmail ... default mail server, you would probably find people that would agree ... First you have to define what are standard local conditions. ... AT&T DSL connection using the sbcglobal servers. ...
    (Fedora)
  • RE: cant send mail to hotmail or yahoogroups addresses
    ... When I'm away using the web based client, it uses sendmail ... Replace mail.myisp.net with the outbound mail server of your ISP. ... If your ISP's mail server requires authentication, ... add the feature authinfo to /etc/mail/sendmail.mc. ...
    (Fedora)
  • Sendmail - IMAP-UW - Cyrus-SASL2 - SMTPAUTH problems
    ... I'm trying to set up a FreeBSD 6.0 box as a mail server, and while everything seems to be working OK for the most part, I have run into two issues that I cannot resolve. ... IMAP-UW was compiled via ports with WITH_SSL_AND_PLAINTEXT enabled, OpenSSL, Cyrus-SASL2 & Cyrus-SASL2-saslauthd were compiled via ports with no flags. ... Sendmail was installed with the base install and recompiled with the following options added to make.conf: ... I followed the instructions I found at http://www.bsdconspiracy.net/howto/sendmail.html, and had no problems with the install except for Sendmail. ...
    (freebsd-questions)