Get E-mails From A Pop3/mail Server
i want to make a webmail script but i don't know how to get e-mails from a pop3/mail server (with out deleting them).
View Complete Forum Thread with Replies
Related Forum Messages:
Connect To Pop3 Mail Server
I have a piece of code that connects to a mail server running on the same machine. It all works fine but it just takes an age to connect to the mail server, like 30 seconds or so. Looking at the log for the mail server, I noticed the following lines at the beginning of each request: [Date / Time] CAPA [Date / Time] -ERR Unknown Command [Date / Time] AUTH [Date / Time] -ERR Unknown Command Could this be the reason that it takes so long to connect to the mail server? And if so is it possible to suppress certain commands sent to the server if they are not required? The PHP code I use to connect is simply: $mbox = imap_open ("{mailserver:110/pop3}INBOX", "username", "password"); And then imap_close($mbox); to clean up.
View Replies !
Use Fsockopen To Connect To Pop3 Mail Server
I am writing a application which use fsockopen to connect to pop3 mail server and check mails. It works fine for me. But, Now i am having problem with checking same server. I mean when i try to connect to example.com from a script running at http://www.example.com/myscript.php it doesn't connect to server gives PHP Code:
View Replies !
Deleting Mails In POP3 Account
I am getting lot of mails after submiting my site to some FFA link site. I am using Yahoo! mail ( User name : w3boby Password: bobee ) to receive all these Junk mails. They allow POP3 access. I want to delete all these mails in a single go. My PHP doesn't have IMAP support. Can i use socket to connect to POP3 mail box and Delete all mails inside.
View Replies !
Move Mails From One Into Another POP3-Account
I'm going to write a anti-spam-program based on a Whitelist. "If the mail sender is found in the database, my program should move the mail into another mailbox". The mailserver fetched the mails from the clean pop3-account. The problem is a problem because the function imap_move() can only move mails from one folder in the mailbox into another folder.
View Replies !
Php Mail() Function Doesn't Send To Pop3 Mail Address
I'm writing a registration script for een webhosting company but the mail() function i used works only for hotmail addresses and not for pop3 email accounts, it also works for other not pop3 email accounts, does any one know what i should do to make this work. I used the same method before on an other server and there it worked perfectly.
View Replies !
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 !
POP3 Mail Access
I am trying to code a script that connect to the pop3 server connect it and get the no of mail counts. For this i try imap_open function but server when i run the script i got undefine function error. Next I try searching this forum find a code for the socket connection but that too give error that gethostaddress fails error for the php complier. I need to connect through the domain name and not through IP address. My application is actual let the user now the count of mails in his pop3 accounts like gmail account has x mails your personal domain has y mails.
View Replies !
POP3 Mail Boxes
PHP script that will connect and read mail from a POP3 box. I need to read the POP3 and populate a database with the senders email, receivers email, date sent, date received, subject, and message. I also want to leave the mail on the server, and flag them somehow so next time the script runs it does not extract the same message twice.
View Replies !
PHP Read Pop3 Mail Account
I'm after a quick and easy way to read the content of a pop3 mailbox. I don't need anything fancy, just a way to list the date/sender/title, and then when selected, display the content of the message. I'd also like the mail to remain on the server to be downloaded properly into a mail client later. It doesnt even need to be capable of sending email at the moment - just reading it. It's so that a friend of mine can check her email online to find out her exam result next week while on holiday.
View Replies !
Incomming Pop3 Is Mail.mydomain.com
I have webmail on my server and it says my incomming Pop3 is mail.mydomain.com i tried to do <?php $port = "{mail.mydomain.org:110}"; $user = "admin@mydomain.org"; $password = "*****"; // To connect to an IMAP server running on port 143 on the local machine, // do the following: $mbox = imap_open($port, $user,$password); ?> and i get a stream not found error.
View Replies !
Read Mails From Server
i am in need of a open source code to read mails from the server and display in the application. i searched all over the net.. but not able find one. i want to display the emails and there should be a link to reply for that mail. i will be very gratefull if any one can help me how to do this function.
View Replies !
Mail() Sending Double E-mails...
I have the following function setup to submit some form data to a client and to myself. It works, however it sends two copies of the e-mail to each of us. Note that I'm using simply '' after the headers as '' was printing the headers in the body of the e-mail rather than apply the header.....
View Replies !
Work Around A Mail Limitation (200 Mails Per Hour)?
A simple newsletter mailer script that sends an e-mail to approximately 700 opt-in subscribers in BCC. Web host prevents mail due to limit of 200 e-mails per hour.Intended work-around: - Send the e-mail to 3 kids per minute? I'm open to any suggestions. I've not been able to find a good solution by searching forums. I'm not asking for anyone to write the script for me, but if you could point me in the right direction, or suggest a different work-around.
View Replies !
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 !
Use Yahoo SMTP Server To Send Mails
how to know yahoo SMTP server to send mails from my website, i don't mean the code, everything is fine with it but i get this message when i send: SMTP server response: 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/p... in E:MYDOMAINwwwindex.php on line 24 i tried going to the website but didn't help, i also tried to change port to 465 but didn't work too SMTP: smtp.mail.yahoo.com PORT: 25
View Replies !
Mail Function - Failure Mails Receives Provider
what can i do in the following mail function, which hast 400 subscribers who are read from a database and to which the mails are send in a loop, when there are some adresses who are not reachable. My provider receives all the failure mails. is it possible to send the mail daemons ( failures ) to a special adress, so that the provider doesnt reseive so many emailfailures ? he hates me for that. is that a server problem ?
View Replies !
Mail() Headers - Send Mails In Other Language Then English
I try to send mails in other language then english, lets say french there are special characters, I'm making test with mail function from php but I cant get to send a clear mail. In gmail and outlook I receive the email ok but in yahoo the characters are not interpreted corectly, does anyone know how to set the mail function headers or encode the message so it will be sent OK to all type of mail clients.
View Replies !
Mail() [function.mail]: SMTP Server Response: 550 Not Local Host Gmail.com
I do a mail() and get: Warning: mail() [function.mail]: SMTP server response: 550 not local host gmail.com, not a gateway in C:xamppxampphtdocs estsitemail.php on line 7 <?php ini_set("SMTP","rlwatkins.com"); ini_set("sendmail_from","hunter@rlwatkins.com"); mail("huntercjcarroll@gmail.com","hello me","spamtastic","From: hunter@rlwatkins.com"); ?> what is wrong with this, how do i set it so that i can send to something other than localhost?
View Replies !
Warning: Mail() [function.mail]: SMTP Server Response: 501 Syntax Error
When I try this under windows : mail("User <user@example.com>",$subject, "", $headers); I get this error : Warning: mail() [function.mail]: SMTP server response: 501 Syntax error, parameters in command "RCPT TO:<User <user@example.com>>" unrecognized or missing in It seems to add it's own <> characters. If I run the same script under Linux it works fine !?
View Replies !
Warning: Mail() [function.mail]: SMTP Server Response: 550 5.7.1
I'm making e-mailing with php script and i setup mailtraq mailserver this thing is just a lil confusing to me first thing i want to know if i can use apache instead of this as mail server second when i wrote my script with that mail function i received an error this is it : Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for monalisa20042006@yahoo.com in D:wampwww1stmail.php on line 2 what's that mean if this means that the mail server not configured right...SO third how to use or configure this server to use as my mail server. Code:
View Replies !
Warning: Mail() [function.mail]: SMTP Server Response: 553
my php.ini mail section is setup as follows: [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 then in my php script: <?php mail("joecool@hotmail.com", "Testing", "Line 1 Line 2 Line 3", "From: tom@hotmail.com") or die("email error"); ?> i have also run mercury mail but i keep getting this error: Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in C:Program Filesxampphtdocsest.php on line 2 on all tutorials that i went, the mail function is written this way what is wrong?
View Replies !
SMTP Server Response: 503 This Mail Server Requires Authentication
I get this any time I try to send an email to someone that IS NOT in the domain of the company: Warning: mail() [function.mail]: SMTP server response: 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server. in corpevent.php on line 21 I have it setup like this (I removed the email address domain...but its correct in the code): // INI Settings // ini_set(sendmail_from,"info@domain.com"); ini_set(SMTP,"mail.domain.com"); ini_set(smtp_port,"25"); $headers = "MIME-Version: 1.0"; $headers .= "Content-type: text/html; charset=iso-8859-1"; $headers .= "From: info@domain.com"; $to = $_POST['txtEmail']; mail($to,"Your Email",$theEmail,$headers); Why am I not allowed to send an email to anyone that doesn't have a "domain.com" at the end of the email?
View Replies !
Using Imap_open ("{pop.server.com:110/pop3/ Notls}INBOX","user","password")
I am using imap_open ("{pop.server.com:110/pop3/ notls}INBOX","user","password") in a page that gets emails with pop3 protocol. Imap_open works perfectly on my PC + easyphp1.8, but not on a server + Debian + php5/Apache2 + php5-imap. Error message is "Couldn't open stream". Looking further (print_r(imap_errors())), the real error message is "Security problem: insecure server advertised AUTH=PLAIN". But I do not understand this message .
View Replies !
Get Mail From Mail Server And Process It
i have created a table in my database. the table consist of columns named clientName, problem and problemDesc. When a client email a message to my mail server(hanwei@test.com), the script will grep the mail from my mail server and process it. I want the informations in From:, Header: and Message: to be automatically inserted into the table that i have created. Code:
View Replies !
Mail Server - Use My Page Login For The Mail Login User Is Stored In $_SESSION
I have a problem and no time to google it and i hope someone will guide me. I have a linux server (slack10) php/mysql and a website where you can create accounts and login. i need to install a mail server with a web interface, i need to have a script that creates automaticly an email account when my page creates an account and a way to use my page login for the mail login user is stored in $_SESSION and the mail will be shown in iframe any sugestions?
View Replies !
Mail From Mail Server
I have created mail server script in php. i try to access my mail from my website cpanel i am getting only newly received messages, but my requirement is to access all the messages both old and newly received messages.
View Replies !
How To Use PHP To POP A Mail Server
I have this email address where I get some email coming from a form on a website to which I do not have control. Is it possible to use PHP to pop my mail server for the emails? I would like to be able to drop the email data into a database.
View Replies !
Mail Server
Is it possible to use my ISP's mail server to send outgoing email through PHP or do I need an actual mail server installed on the system? I use my home PC for PHP development but I don't have a mail server installed on the machine itself as I just use my ISP's incoming/outgoing mail servers for e-mail.
View Replies !
Set Up PHP To Use Separate Mail Server
I've gotten myself compeltely stumped here. I'm running RedHat/Apache on some remote servers, and I've been pulling what little hair I have left out of my head because I can't get the web servers to send mail, using PHP, to the email server specifically configured for such a purpose. I have the email server IP, and name (for example, mail.mydomain.com), and I've tried configuring both web servers' php.ini file, to no avail. Can anyone assist me in this? Using the web servers as mail servers is not an option; the email *must* go through the email server.
View Replies !
Setting Up Mail Server
I am setting up a webpage which needs scripts to access Merak Mail server. i need these scripts to create and delete accounts and domains in the mail server. I know the commands to do what i want, thing is i don't know how to implement these commands in php. basicaly when a user comes to my site, i want them to fill in any email address, and there pop mail settings. and whatever they enter in i want that information to be created in merak. what i need to know is how can i do this with php. ----creates a user in Merak Mail server----- Lets add a new user with the name John Doe, alias john, mailbox john and password secret into the domain icewarp.com. You do not need to specify the domain name if it is a primary domain. users -a -ujohn@icewarp.com -mjohn -psecret -n"John Doe" ------------------------------------------------------- the above command creates the user... but how with php can i implement this.? i have a basic understanding of programming and know this is a very simple script but i don't know where to start.
View Replies !
Connect To Mail Server
I got this script from a tutorial somewhere, its for conecting to a mail server and reading a list of the messages there. but for some reason it wont work. at all. the page just stays blank. (white). PHP Code:
View Replies !
Server Usage With Mail
If I am going to make a blast email function using mail, to select from a mysql database a chunk of around 3000 rows and then email them all, what kind of drain on the server is that? Is there a recommended way of doing this?
View Replies !
Simple Mail Server
I would like to set up a very simple but reliable/capable mail server on my Linux Web server or on an alternate server so I can run PHP e-mail scripts on certain web pages. What is a good choice for a mail server that can perform this function? Preferably one that ships with Redhat 7 as I already have the CDs.
View Replies !
How To Create Mail Server
i am using php4 & mysql 3.22 with apache and linux. i can able to read the mails using the IMAP functions that is not prob. my question:how will i create a new mail account for my users.
View Replies !
Mail Server Authentication
There seems to be a lot of white noise in trying to understand SMTP that requires authentication when searching the newsgroups via Google Groups or searching the PHP.net website. The PHP fsockopen API's notes on php.net provide the routine to connect, unauthenticated, to send messages. But if you need authentication, people want you to download their class or check the PEAR. Some websites even want your email address or some registration process to check out the file, but I don't play that game. Anyway, these methods will work, but here's the short of it... After the HELO initial acknowledgement, do the following. (Translate the pseudocode to PHP.) 1. Send "AUTH LOGIN " 2. Did you get message 334 back? If not, then server doesn't support authentication. Break. 3. Send base64_encode($user) 4. Did you get message 334 back? If not, then server doesn't support that username. Break. 5. Send base64_encode($pass) 6. Did you get 235 back? If not, then server doesn't support that password. Break. 7. Proceed now with MAIL FROM, RCPT TO, DATA, etc.
View Replies !
Specify Server In Mail Function?
I am running a PHP script on my machine that's running mySQL. But this machine can't send mail. My script just uses the PHP mail function. I have to specify username, password, and server to be able to get into the mail server. Can the PHP mail function take those parameters somehow?
View Replies !
How Send SMS And MMS From Mail Server?
Does anyone know anything about sending SMS or MMS from my server (so, users could be texted that their order had been dispatched)? I don't know where to start looking... do I need something particular installed or will it work with my normal mail server?
View Replies !
Using Different Server To Send Mail..
My mail server has been blocked by a couple free e-mail providers namely Hotmail because my boss sent out an e-mail from the server to 3,000+ e-mails. Now I'm coming up with a solution so that we can continue to send e-mail to our users and new users. I've set up a new domain on a different server but I'm trying to figure out the best way to send mail from the new server. My site sends out e-mails during user registration and few other functions. How should I send the info to the new server so that it will send out e-mails? For example, the website is SOMEDOMAIN.com, our new server set up soley for sending mail is SOME-DOMAIN.com. I'm thinking of adding a record to the database on SOME-DOMAIN.com any time an e-mail needs to be sent. But then how do I remotely call the script to actually send the mail. I can pass some info through the URL but should I use cURL to access the script?
View Replies !
Php.ini External Mail Server
I have setup WAMP server on my computer and I want the server to use an external mail server (my webhosts). My computer is running Vista and the mail server I want to use it running Linux. I can't figure it out from the PHP docs.
View Replies !
Formmail As Mail Server
some applications require mail server to send out email . I do not have a mail server installed. is it possible to use the formmail that we have ?
View Replies !
Remote Mail Server
I am trying to send a mailout using a php script hosted on my server to connect to a seperate mail server. The server uses pop3 and is QuickMail Server 2. Can anyone explain what PHP script I use to connect to the mail server. I am currently using the mail() function but this is simply sending from my development machine.
View Replies !
|