Needing access to a mail server really isn't a Perl-specific question. Your ISP probably provides an SMTP server. You'll usually want to use that. If you can't use their server for some reason, you may need to run your own or hire the services of a hosting provider.

Many ISPs block access to port 25 except to their own mail servers. If you can't use their server and must hire someone else's server, you may need to use port 587 (the RFC 2476 mail submission port) rather than port 25 (the RFC 821 and several RFCs since server-to-server mail transport port). If they have also blocked 587 except to their own mail servers, then you'll have to work with a hosting provider who's willing to make special arrangements for you.

I know of a few companies that offer flexible hosting arrangements like setting aside additional ports for authenticated email sending for customers who aren't sending spam or harassing emails. I run one, actually.

If you sign up for GMail for Domains (part of Google Apps), you can use their servers as your MX and your SMTP submission servers for your own domain. This allows you to use the GMail web interface, IMAP4, or POP3 for reading and the GMail web interface or SMTP for sending. If you're a business, it's $50 US per year per account for their Premium Edition. If you're running a family, club, amateur sports team, or other non-commercial site it's free for Standard Edition. Other places might beat their business price for just email. I can for many business users, for example. Consider the tradeoffs of using a small company vs. using Google, though, and consider that Premier accounts get Postini spam filtering, group calenders, and the other Google Apps rather than just email. It's hard to beat the price of free for noncommercial domains.


In reply to Re: Plz Perl Guru help me plz by mr_mischief
in thread Plz Perl Guru help me plz by rahul_mawana

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.