Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP






SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Create Web Based Email Using POP3


Anyone know how to create web based email using POP3 with PHP? Would you use FOPEN() and some how parse it???




View Complete Forum Thread with Replies
Sponsored Links:

Related Messages:
Building A Web-based Ajax POP3 Client
Once again, DevArticles is back with a new project
that I've seen many people ask for as a way to keep on top of their
email no matter where they are - an Ajax-enabled POP3 client. This
article is the first of a three part series to create a simple app that
can grab the messages from your mail server.

As you may have guessed, in this article I'll
make my contribution to the developing AJAX universe, by creating a
simple web-based POP 3 client, which will utilize "XMLHttpRequest"
objects for retrieving messages from a given mail server. The
application I plan to develop will use a simple front-end for
connecting to the mail host, displaying the messages and navigating
back and forth across them. On the server-side terrain, I'll use PHP
for accessing the mail server, pushing POP3 commands and reading
messages from the inbox, which implies having the possibility of
switching over to your preferred language and using it to create the
application. ...

View Replies !   View Related
EMail Deletion In POP3
Looking for a simple PHP code that will open a mailbox in pop3 and then delete all the mail that's in the said box then exit?

View Replies !   View Related
POP3 Email Access
I'm looking for a PHP script that I can install on my server that will allow me to access my google email account via POP3. Had a quick search and the only possible candidate that I could find was "project zen" which i'm finding quite hard to configure.

Has anyone got any alternate suggestions?

View Replies !   View Related
Programmatically Create POP3 / IMAP Mail Accounts Using PHP On Linux?
I want to get some help for programmatically create POP3 / IMAP mail accounts using PHP on Linux? , actualy im trying to develp a real email system like hotmail, this might be easy for you experts but getting difficult for me, im easily able to send Email to other domains but having problem to understand email Inbox and automated email account creation at my domain ( at sign up time ).

View Replies !   View Related
Deleting Email From Pop3 Account
I need a simple script that would, when called, delete all the email from a certain pop3 account.

View Replies !   View Related
Creating POP3 Email Accounts
I have been looking for some scripts tutorials or whatever to create a small web based email service for any member that signs up on my website. I know how to create web interfaces and connect to accounts that I have already setup on my server. But what I am looking for is some scripts that would allow me to create an interface that anyone could sign up and create a new account from the web.

One other option I could look at is to be able to create a system that would pick up and all my catch-all emails and then maybe place then into a database under a user account. Then users could access there emails without actually having a POP3 account on my server. I have a good idea of how to create this, but would prefer to be ale to create a new POP3 account on my server directly from the web.

View Replies !   View Related
Reading Email Without The Pop3 Extension?
Is there any way to do this without the pop3 extension?

View Replies !   View Related
Read Email On Pop3 Without Imap Ext
we need to check email on email address as a webmail but more simple. We need only to check if subject is "Remove" and if yes make action with sender address. The problem is that in server where hosted site IMAP is not active.

View Replies !   View Related
EMail Headers - Display Emails From User Specified Pop3 Accounts.
I'm creating a small PHP script that will display emails from user specified pop3 accounts. The problem I'm having is when display the body of the email there are all of the usual headers such as content-type etc.

Is there any PHP/Pear command/class that will remove these?

View Replies !   View Related
Create A SQL String That Gets Built Based On If/then
I'm looking to create a SQL string that gets built based on if/then - and need a little help. I'm trying to create a string that will add pieces to an UPDATE query.
I'm getting a 'comma' after "SET"

cc = 0;
$dfc_sql ="UPDATE teleservice SET ";
if($eight == 1){
if($cc = 0) {
$comma ="";
}else{
$comma =',' }
$dfc_sql .= $comma.'eight = 1'
$cc++;}

View Replies !   View Related
Create A Optgroup Dynamically Based On The Value Of An Array
how to create a optgroup dynamically based on the value of an
array...

for eg....

View Replies !   View Related
Create A URL Or A Text Message Based Upon Of File
I have to create a URL or a text message based upon of file exists in a certain directory.
For examle,

if
<test.touch> exists in </home/user> dir
then
message A
else
message B.

View Replies !   View Related
Web Based Email
I really need a web based email script. Something like hotmail is what I'm aiming for. Users have to be able to sign up on the web, and login to their account, exactly like with hotmail.

View Replies !   View Related
Create Very Simple Form Based Content Management Systems
In the past I've created very simple form based content management systems for my clients' websites. I know there are many options available on the market from open source varieties such as phpNuke to others that can be purchased, but I'm really wary of committing my clients to any of these. However, I need to begin offering better tools to my clients. Is is better to build your own CMS to better understand the code that makes up the application or is better to invest the time or money in something that has been prebuilt.

View Replies !   View Related
Create One Long Insert Statement Based On The Values In The Array.
I current have an array called $hole[]. the code is as follows:

$x=1;
$round_detail_string = "";
foreach ($hole as $value){
$round_detail_string += '(null,"'.$x.'","'.$value.'"),'
}

I am trying to create one long insert statement based on the values in the array.

View Replies !   View Related
Email To Based On Subject
I have a contact script that works but now I'm trying to figure out how to get it to email a specific address based on the subject chosen. This is what I have so far but it is not working as wanted Code:

View Replies !   View Related
Create A Script To Check A Server Status Based On IP And Port Number.
I am trying to create a script to check a server status based on IP and Port number.  I know the server is up because I tested it first to make sure, but when I check it in my script it says it is offline.  Not sure what the problem is, or if I am even doing this right

<?php
$gameserver = '64.182.161.102:27033';
if (preg_match ("/^[a-z0-9][a-z0-9-]+[a-z0-9](.[a-z]{2,4})+$/i", $gameserver)) {
    print "$gameserver is currently online.";
} else {
    print "$gameserver is currently offline!";
}
?>

View Replies !   View Related
Web Based HTML Email Client
I have successfully built a web based email client that supports HTML. The question I have for you is why do I get "3D", "=" with a carriage return, "=A0", "=20", "=09" all over the place (without quotes of course), and thats just what I've seen so far.

I looked at the source of the email in my email client (I'm using Netscape Mail) and they are there too but my email client does not show them. How does my email client know that they aren't suppose to be shown and what do they do in the first place?

View Replies !   View Related
Make My Own Web Based Email System Like Webmail.
I have a emaikl address with my ISP www.paradise.net.nz and I want to make my own web based email system like webmail.

Firstly i want to know if this can be done with a ISP's email address??? Does anyone know who I can test this??

View Replies !   View Related
Simplistist Web Based Email Read-only For Group
I'm wanting to add functionality to a website...This is for a kids sports
team - would like ability for Team Managers to be able to send email and
have it automatically show up on website "Inbox" for all players parents to
be able to read (Read-Only).

I have the IMAP part down and can capture the
email but am looking for some existing script to add webmail type appearance
without all the bells and whistles - although the ability to handle
attachments would be nice. No email creation, delete etc. - need to
specifically setup users (or Admin only) for that (as an option).

View Replies !   View Related
Problems With Flash Based Email Form
I'm having trouble getting php correct for a flash based email form. I have the form working (i.e. the email will send when I click submit) but it only recognised one field on the email form because I had each field named &message. When I changed these names, the form would no longer send when the submit button was clicked. Code:

View Replies !   View Related
Email Person Based On Radio And Select Selections
I have an html form with radio and select controls that I want
to email to a user but can't quite grasp the way I should set this up.

If someone selects "a" and "milk" I want it to email abc. If they
select "a" and "cookies" it should go to xyz.

input type="radio" name="type" value="a"
input type="radio" name="type" value="b"
input type="radio" name="type" value="c"

<select name="location">
<option>milk</option>
<option>cookies</option>
</select>

View Replies !   View Related
PHP Based Email Address Obfuscator For Website Mailto: Tags
I found a PHP based email obfuscator for use in websites, where the
source HTML (PHP, actually) file doesn't contain the actual email
address in the Mailto tag, but generates it and that generated page
(containing a full and conventional Mailto: tag) is what is ultimately
presented to the user.

The intent is to thwart Spam bots and spiders, by NOT having the email
address in the original HTML Source, but ultimately presenting it to
the person browsing the site.

But here's my question.... Even though the program works exactly as
advertised, isn't this a case of flawed logic on the part of this
scripts author? PHP runs server-side, so won't the PHP be
interpreted, whether it's requested by a bot, a spider, or a legit
website visitor? (and thereby, presenting the bot with the full
Mailto: tag and email address anyway)? Or is there something basic
I'm missing here?

View Replies !   View Related
Table Based Order Form That Can Email Text Entered?
I have a custom order form that I collaborated on with a friend who knows php.

The form needs updated and the code we put together is hard for me to read and update. I think the form can be refined or rewritten in a more OOP way and hopefully as sematic as possible.

The Form is for entering ready made frames. The Choices are color and size. Here is what I need to do:

Enter Name, Email, Store Number, Comments Etc.Create a table based form where users can only enter numbers in each text field.Upon completion, agreement, and submission of the order an html email is kicked to our inbox. The table remains as it was on the website due to html and a separate print css file. Code:

View Replies !   View Related
$PHP_SELF - Create A Link Which Refreshes The Current Page, And Based On Certain Items On The Page
On a page, I want to create a link which refreshes the current page, and based on certain items on the page (simple form objects like radio buttons)the page will load differently. My link looks like this: PHP Code:

View Replies !   View Related
Create & Send Email
I have a need to send a premade page, with filled in variables from a posted form, to an email address supplied by the form. What is the simplest way to do this? And I do not desire to use a pre-canned script, as everything I learn gets applied somewhere else eventually.

View Replies !   View Related
Create Email Accounts
Normally (manually) I create email accounts using cpanel. I created a way to add email accounts with a modified script based of cpanelmail. It uses fsocketopen and my cpanel login to run the cpanel script. It worked great. I didn't like having my cpanel login on a page but it worked great.

Now all of a sudden it stopped working and I didn't change anything. It doesn't display any errors. I'm thinking my hoster switch something. I'm waiting to hear.

But until then I need to figure out how to create email accounts. I've used imap_createmailbox but it just creates a file and my webmail won't read it.

I've used mkdir and imap_createmailbox but my webmail won't read it either. I've search from scripts but have not found anything. I thinking I'm looking for the wrong thing.

View Replies !   View Related
Create Email Enabled Applications
How to send an email using php3 i.e.,is there any email object in php if any have an idea about email object please send me the appropriate solution for that.

View Replies !   View Related
Create A Function To Send An Email
I have created a function to send an email, it is all working correctly except for a few things. I have defined the following:- PHP Code:

View Replies !   View Related
PHP Create HTML Email Inserts '!'s
I'm trying to create an email and when it sends the email, it mostly
works except that there are '!' inserted at some spots. Checking the
html source of the email, looks like they are placed at the end of
long lines. I'm assuming there is some issue with the encoding, but
searching through groups, nothing I've tried has worked. Can someone
let me know if I should be doing something differently with my headers
for an html email? I'll change emails to null@null.com. Thanks!

$headers = "X-Mailer: PHP " . phpversion() . "
";
$headers .= "From: null@null.com
";
$headers .= "Reply-To: null@null.com
";
$headers .= "Content-Type: text/html;
";
$headers .= "charset="iso-8859-1"
";
$headers .= "Content-Transfer-Encoding: 7bit
";

View Replies !   View Related
Create A Email System Like Yahoo.
I have to create a email system like yahoo. But i just list emails (Inbox 8) and read emails from server. But i don't know from where i starts. Tell me script or refrence tutorial if any present anywhere and tested. What configuration i have to done please also tell me.

View Replies !   View Related
Create A Email A Friend Script
I am trying to create a email a friend script and I have encurtered a problem. The url link does not work in the <a href tag howver when i echo the variable it works the following is the code. PHP Code:

<h2>Email this page to a friend</h2>
<form id="form1" name="form1" method="post" action="">

Complete the details below to send a link to the page:<br>
<? $refurl = $_SERVER['HTTP_REFERER']; ?>
<? print $refurl;?>

<a href="$refurl"><? print $refurl;?></a>

the link comes up but when it is clicked on it doesn't know where to go.

View Replies !   View Related
Create Multi Lines In Email
I have a config.php file and one line has text that is in an email which is sent.

define('NOTIFY_MESSAGE','A user want you to process payment via their credit card:');
//subject and body for users notification
define('UNOTIFY_SUBJ','From My website: You have requested a response');

This line below gives me one line in the email , how do I increase the lines of text with line breaks?

define('UNOTIFY_MESSAGE','You have requested a response');

View Replies !   View Related
Email Function - Create The Ouptut As Required
Could anyone help me with amending / adding the php in the function so as to create the ouptut as required in the function ? Code:

View Replies !   View Related
Automatically Create And Post An Email To Each Customer Of The Same Content
If I have a customers database and wanted to automastically create and post
an email from a local computer to each customer of the same content - can I
do it in PHP? If affirmative which functions should I consider?

View Replies !   View Related
Create An Automated Response Email When Someone Fills Out The Form.
I have created a mailing form that I have sending to a specified email right now. As it stands the email comes from the server. I would like to create an automated response email when someone fills out the form. Is there some way to make it so the form would look to my email like it is coming from the customer's email? or is there some way to have a automated response originate from the form and go to the customers email?

View Replies !   View Related
IMAP_open - Create A Class Which Will Open An Email Inbox
i am basically trying to do is to create a class which will open an email inbox, and read the contents. I used the imap_open() function ( obviously with parameters) and all I get is

Warning: Couldn't open stream
I have tried shed loads of combinations and nothing makes a jot of difference. To help I have attached routines which will read

imap_alerts ()
imap_last_error()
imap_errors()

None produce any results implying there are no alerts or errors as a rsult of not being able to open the stream. I have also tried various combination of tls and notls all to no avail.

I have tried telnetting to the mail server without success which leads me to suspect a  firewall or network problem. The difficulty is the guys in networking as you would expect claim all is fine and dandy, without additional info I cannot counter their argument. I have noted from previous posts this has been a contentious issue in the past, but no-one seems to have posted any solutions. So come guys, someone must have an answer somewhere It would be really, really helpful if you could share this.


View Replies !   View Related
Creating A Script That Allows Users To Create An Email Account At Mydomain
I am creating a script that allows users to create an email account at mydomain. I would like to restrict usage of the script to prevent misuse. How could I do error checking to ensure that the script is only used once within a 5 minute timeframe? Or am I going about this the wrong way?

View Replies !   View Related
Create A Simple Email Form Where It Automatically Sends A Quick Message
I'm trying to create a simple email form where it automatically sends a quick message a user inputs to a hardcoded email address. the form i use looks like this: Code:

View Replies !   View Related
Create A Simple Web Form In Order To Allow Visitors To Send Me Their Comments Via Email.
I want to create a simple web form in order to allow visitors to send me their comments via email. I created this code:

$to = "mybox@mydomain.com";
$subject = "Comments from the web";
$body = "Comments:";
$body = $body . "----------------------- ";
$body = $body . $email . "";
$body = $body . "-----------------------";
$body = $body . $name . "";
$body = $body . "----------------------- ";
$body = $body . $text . "";
$headers = "From: $email";
mail($to,$subject,$body,$headers);

'$email' is the email address of the visitor, '$name' is their name, and '$text' is the contents of the comments. But I found out that some spammers used this form to send spam. I didn't make any filter of the contents, and I was suggested they were using script injection within the form. Do you know any more-secure web form for sending emails?

View Replies !   View Related
Online "autoresponder" (not Email Based)?
What I would like to do (but don't know how) is to create a 100% web-based version of a sequential autoresponder (*that is, instead of emailed sequential messages, clients can log into a password protected site and view the pre-programmed messages on my website).

I offer an informational product which after people purchase, they receive 3 simple emails spaced 1 day apart: (sort of like an mini-ecourse). Problem is, no one is getting it because the auto emails go straight to spam/bulk mail folders, customers, empties these folders automatically, and then email me asking where there information is!

So here is a rough idea of how I would like to do it, and would like comments/suggestions or even php scripts already available that do the following: Code:

View Replies !   View Related
How To Create New Vars Based On Vars?
I am trying to create new vars based on information that is stored in an array. I plan on adding value to these vars later on but need to figure out how to dynamically create new vars fists. Code:

View Replies !   View Related
Cookie Based Script To Session Based
PMsys is a script that based on Cookies rather sessions(what are people thinking in 2003?)
To intergrate this system to mine website, I got to change all the cookies to sessions.
So, I think 1st replace all the:

$_COOKIE into $_SESSION
and then write a function that search and find a line that contains:
setcookie('a', 'b', $whateverthetime);
into
session_start()
$_SESSION['a'] = 'b'

will that work? is there anymore things I have to think about? anyone can write a function to do that? I just can't get a hold on regular expressions.

View Replies !   View Related
PHP And POP3
Can anyone point me to a tutorial on using PHP to retrieve email from a POP3
account? I need to take mail messages and parse their content into a mydql DB.

View Replies !   View Related
Another Question Regarding Pop3
What is the procedure for running a php script automatically as soon as our
mail server receives a new email. please help in setting up the flags of emails
through pop3 and idea about formatting and displaying the recevied emails.

View Replies !   View Related
POP3 Access
I have a script that will access a smtp server and send mail via it, but I'm looking for a code that will let me pop authenticate first so that it will let me send.

View Replies !   View Related
Imap - Pop3
I'm writing a script to read view and store my emails. Something like hotmail. Would I need to use IMAP or POP3?

View Replies !   View Related
Pop3 Mail
How does one specify which smtp server, (POP3), php should use when sending a mail using the PHP Code:

mail()

function.

View Replies !   View Related
Pop3 Over Sockets
on a php page I want to display the content of a POP3 mailbox and to show the following informations:

current number, content-length, sender, subject

// open the socket
$socketPOP = fsockopen($pop, 110);
fgets($socketPOP);
fputs($socketPOP, "USER myName");
fgets($socketPOP);
fputs($socketPOP, "PASS myPassword");
fgets($socketPOP);

// load list
fputs($socketPOP, "LIST");

Now I read the lines with

$zeile = fgets($socketPOP);

and get from it the current numbers and the content lengths.

Then I send for every mail:

fputs($socketPOP, "RETR $currentNumber");

and parse the returnd lines for the strings "From:" and "Subject:".

My problem is, that the whole mail is sended and I have to read ALL data from the socket, before I can get the data from the next mail. If I have lots of large mails, I create with this code very much traffic. How can I avoid this unnecessary traffic?

View Replies !   View Related
POP3 Class
Can anyone reccomend a good class for retrieving mail messages from pop3 server? I need basic funcionality (i've checked pop3 class from phpclasses.org) which is to download message body (both plain text and html messages) and display it correctly in browser. I'm not developing a webmail app, I just need to display mails properly.

View Replies !   View Related
Pop3 Instead Of IMAP For This?
We want to make a page called 'mail.php' which will check 5 mailboxes. Our mail server uses POP3, not IMAP and we want this page to return a syntax like this:

mailbox@domain.com: 15 messages, 2 new
mailbox2@domain.com: 23 messages, 3 new

The IMAP script we had was:

$mbox = imap_open("{mail.domain.com}", "mailbox1@domain.com", "password", OP_HALFOPEN)
or die("can't connect: " . imap_last_error());

$status = imap_status($mbox, "{mail.domain.com}INBOX", SA_ALL);
if ($status) {
echo "Messages: " . $status->messages . "<br />";
echo "Recent: " . $status->recent . "<br />";
echo "Unseen: " . $status->unseen . "<br />";
echo "UIDnext: " . $status->uidnext . "<br />";
echo "UIDvalidity:" . $status->uidvalidity . "<br />";
} else {
echo "imap_status failed: " . imap_last_error() . "";
}

imap_close($mbox);

However, our mail server isn't IMAP. Is it possible for PHP to do this with POP3 instead, what would I need to use?

View Replies !   View Related
Pop3 Function Explanation
i have found a function that does exactly what i want to do but i dont know how it works and i really need to to get another program to work.

the function retrieves a message from a pop3 server which has already been connected to:

function get ($msgNum)
{
//Retrieve the specified msg number. Returns an array
//where each line of the msg is an array element.

if(!isset($this->FP))
{
$this->ERROR = "POP3 get: No connection to server";
return false;
}

$this->update_timer();

$fp = $this->FP;
$buffer = $this->BUFFER;
$cmd = "RETR $msgNum";
$reply = $this->send_cmd($cmd);

if(!$this->is_ok($reply))
{
$this->ERROR = "POP3 get: Error [$reply]";
return false;
}

$count = 0;
$MsgArray = array();

$line = fgets($fp,$buffer);
while ( !ereg("^.
",$line))
{
$MsgArray[$count] = $line;
$count++;
$line = fgets($fp,$buffer);
if(empty($line)){ break; }
}
return $MsgArray;
}

View Replies !   View Related

Copyright © 2005-08 www.BigResource.com, All rights reserved