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.





Mail Queue


i am creating an e newsletter application and want a mail queue. eg. the mail has to be sent to 300 people it list who is left to send it to.




View Complete Forum Thread with Replies

Related Forum Messages:
PEAR, Mail Queue And Mail Mime
I have some trouble with my application.
It is written with PEAR, SMARTY ....
I should send an email to me and with Bcc to 50's else adresses.
But it send it just to me.
I am on an easyPhP server.
Here is my code

$mail_queue =& new Mail_Queue($db_options, $mail_options);

$from = 'my@email.org'
$from_name = "MY";
$replyTo = "my@email.org";
$message = stripslashes($msg);
$from_params = empty($from_name) ? '"'.$from_name.'" <'.$from.'>' :
'<'.$from.'>'
$hdrs = array( 'From' =$from_params,
'Reply-To'=$replyTo,
'To' =$from,
'Bcc' =$liste,
'Subject' =$sujet );

$mime =& new Mail_mime();
$mime->setTXTBody($msg);
$mime->addAttachment($pdf, $attach_type);
$body = $mime->get();
$hdrs = $mime->headers($hdrs);
$seconds_to_send = 1;
$delete_after_send = true;
$id_user = 7;
$mail_queue->put('','My Organisation',$from, 'my@email.org', $hdrs,
$body, $seconds_to_send, $delete_after_send, $id_user);

$liste follow this pattern "titi@tito.fr<titi@tito.fr>,
tita@tito.fr<tita@tito.fr>,titz@tito.fr<titz@tito.fr>,
tite@tito.fr<tite@tito.fr>,"

How can I do to send My emails to the Bcc's addresses too ?

View Replies !
Mail() - SMTP - And Server Queue
I have made any test with high volume sent with mail() and with direct STMP connection
I monitoring under WHM of my server the QUEUE (under mail queue manager)With the first (mail()) I see only 20% in the queue, other is sent immediately With the SMTP I see 100% on the queue and I must send manually (with delivery now) and sent is really slowly.

View Replies !
Read Html/txt Mail From Postfix Queue
I'm looking for a php class script that display hmtl+txt mail from postfix queue.

View Replies !
AJAX, How To Queue
The 2nd would not show. So instead, how could I put all messages into a queue, then send them when no other data is being sent: I have this: PHP Code:

<script language="javascript">
var currentmd5;
function createRequestObject() {
    var ro;
    var browser = navigator.appName;
    if(browser == "Microsoft Internet Explorer"){
        ro = new ActiveXObject("Microsoft.XMLHTTP");
    }else{
        ro = new XMLHttpRequest();
    }
    return ro;
}

var http = createRequestObject();.

View Replies !
Transcoding Queue
I'm an experienced PHP/ajax programmer working on a PALM based website that includes transcoding of user submitted media (A good example is the videos submitted by youtube users and encoded after submission to FLV format).

The transcoding itself is done by an executable in the shell (activated by command line exec function) that may take long time for each conversion. I assume I need some kind of queue to avoid running many such tasks in parralel, which will hurt efficiency.

My question is - what will be the best architecture to implement such transcoding queue. Should cron be used? Some other kind of asynchroneous call? etc.

View Replies !
Mails Stuck In Queue
I am using local smtp server to send mails in windows 2003. Php is showing
success message, But the mail is stuck in C:/Inetpub/mailroot/Queue folder. Any
workaround for this problem as a lot of googling didnt help.My server is Apache
and smtp is running too.

View Replies !
Queue On Upload File
I am learning PHP using a PHP book. And the following is code from the book. But when I try it, I get an error. PHP Code:

View Replies !
Message Queue With Perl?
Message queue problem. Perl program creates a message queue and send a
message to it. PHP program is to receive the message. Simple. But PHP's
msg_receive() is getting corrupted message. Can anyone tell me what is
wrong in the code? Code:

View Replies !
Netflix Style Queue Re-Order
I need to build a list of items (stored in DB) that will re-order themselves much like the Netflix Queue. When you change a value in a field next to an item, it will change its place in the order of items, and if it displaces and item in the list, those order numbers get changed appropriately.

View Replies !
Mail Problem - Warning: Mail() [function.mail]: SMTP Server Response: 550 Invalid Recipient:
Whenever the recipient's email address includes a hyphen ( - ), I get the following error message...

Warning: mail() [function.mail]: SMTP server response: 550 Invalid recipient:

I should stress that this only seems to occur when the hyphen is in the URL portion of the address, i.e example@perfect-example.com

The current code works along the lines of...

mail ($_POST['email'], 'Email subject is here', $body, $headers);

View Replies !
Warning: Mail(): Bad Parameters To Mail() Function, Mail Not Sent. In /
I have a website with a contact form and I tested to see if the form would actually send the submitted info to my email but I get this error...

Warning: mail(): Bad parameters to mail() function, mail not sent. in /home/content/g/o/l/goldenhills/html/email_us.php on line 62

Here's the php code:

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: 501 5.5.4 Invalid Address
I receive this error:


PHP Warning: mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid Address in D:clientsebiblecommentary.comconcordia-seminary.caconcordia-seminary.ca\_demo
egister.php on line 464

Both of my mail() uses fail, and I'm not sure why. I've followed the same syntax before on this my server and not had a problem.

My code is below: ....

View Replies !
Warning: Mail() [function.mail]: Permission Denied: Headers Injection
I wrote many years ago a small shop application as hobby for a customer. Worked well until a few days. I'm not a php guru and don't understand why I get now this permission problem.

Warning: mail() [function.mail]: Permission denied: headers injection (empty line) in /home/www/edfedca4df03c5ff2685003537a08dd5/web/minishop/mail.php on line
145

mail($this->to, $this->subject, "", $mime); <- LIGNE 145

View Replies !
Create A Script Which Sends A E-mail To The One Who Submitted The Form And A E-mail To The Webmaster (me).
I'm trying to create a script which sends a e-mail to the one who submitted the form and a e-mail to the webmaster (me). It also has to put the submitted info into my MySQL database. I'm just a beginner with PHP, so I don't know what could be wrong. When I try to submit the form, it gives me this error:

Parse error: parse error, unexpected T_VARIABLE in /home/example/public_html/test3/verwerken.php on line 38.

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 !
Open User's Default E-mail Application To Generate An E-mail?
I want to be able to open up an user's default e-mail application and populate the to:, subject: , body:. I tried using the html <a href="maito:you@your.com?subject=Test&body=It worked">E-mail me</a> but it limits you to the length of the body. I want the user to be able to view the e-mail, add any other comments, and send it. Is this possible?

View Replies !
Warning: Mail() [function.mail]: Failed To Connect To Mailserver
Why do i keep getting this error:

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:wampwwwproject_upload Code:

View Replies !
Mail() Messages Bounce With 501 Syntax Error In MAIL FROM Command
I have this website that contains an internal message system that allows
users to send each other "email" messages. My client wants me to extend
the system so that when a user receives an internal message, the system
will send an actual email to the user's email address. Code:

View Replies !
Get The Mail Function To Send Mail After Processing My Forms Locally
I am using an Apple Mac Book Pro computer on which I am running MAMP (Macintosh, Apache, Mysql, PHP) I can not get the mail function to send mail after processing my forms locally. I checked the php.ini file to see what could be the problem and I believe I have it configured properly.

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 !
PHP Mail Not Sending Mail To Itnernal Email Address
Running a PHP mail script on Linux which has Exchange as the mail
server. The script does not send mail to any internal email address but sends
it to any other address outside its domain!

View Replies !
Sending HTML Mail To Outlook Express With Mail()
I'm sending out an HTML mailer using the mail() function in PHP. I'm appending all of the headers to the message. This message displays correctly in Hotmail, Outlook 2000, and even Mac's OSX mail client. But, for some reason, Outlook Expess (on Win XP & OSX) displays the HTML code and doesn't render it.

If, however, the recipient copies the HTML code and composes a new HTML message in Outlook Express, it gets sent correctly.

This particular user is also getting other HTML mailers that display correctly, so I know that the client is capable of accepting HTML mail.

I'm led to believe that PHP's mail() headers are not being interpreted correctly. In fact, they appear as the first 3 lines in the body of the message when viewed in Outlook Express. OK, here are some samples to tie this all together: First, the mail() code I'm using: PHP Code:

View Replies !
Emails Blocked By Certain Mail Hosts? (mail() Function)
I'm using mail($address,$subjectheading,$message,"From:
me@mysite.com") to send emails from my site. For the most part, it
works okay (for example, I receive the mail in my Yahoo box). But when
I check my university email, the message is not delivered. I thought
maybe it was because I had included my web address in the subject
heading and that it was being filtered out, but I removed that from
the subject and it still fails to get through. I'm making a wedding
site for some friends now and they want to be able to email everyone
on their guest list at once, but I'm afraid the same will happen to
some of these addresses as well. Any comments/suggestions on what may
be blocking the mail and how I can get around it? I'm not trying to
send out any kind of mass ad mailings or anything. Just to people on a
mailing list for this site.

View Replies !
Mail Function :: Send Form In HTML Mail
I am trying to use the PHP mail function to repopulate the information that has been filled out on a form and send the form out in an html email the same way that it looked when the individual filled it out. The problem I am having is with the Radio buttons and repopulating them. Code:

View Replies !
Mail() [function.mail]: Failed To Connect To Mailserver
i need to know how to enable my mail function i have change my ini to localhost port 25 and enabled emnail but nothing is changing anyone experienced this problem before.

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 !
Recieve A Mail Based On The Mail That Is Added On The Form
I am creating a php form which is connected with Mysql data

The thing I want to do is after the user press on submit button first redirect to a new page "booking_details.php" and the same time to recieve a mail based on the mail that he added on the form

I do not know php code so I do not know how to edit my page.

View Replies !
Sending Mail In Omni HTTPd With Mail()
Whenever I try and use the mail function I get a "Failed to Connect" error. I'm running PHP4.0, Omni Httpd 2.06 on Win98. Is there something else I have to do to enable email? I know if worked before on PWS, but I switched because I couldn't get PHP4 to run under PWS. Any help is greatly appreciated.

View Replies !
Sending Mail Without The Mail Client Popping Up
I was wondering how to send a mail without the mail client popping up to the user.

I want to send a mail to myself, when a user pushes a button on my homepage. Any ideas?

View Replies !
Why Does Mail() Only Send Messages To Some E-mail Addresses?
I've got a form that I use to collect information and store it in a MySQL database and use PHP to send a mail() message confirming registration. When I use my work e-mail address, I never receive the message, but when I use my home e-mail address, I get it right away. What am I doing wrong?

View Replies !
Mail Form Not Sending Mail - Server2003
I am trying to test a simple feedback form. I have php 5.0.3.3 on my dev
Windows server 2003. SMTP is working fine, as we all use it to send mail
from. PHP works fine as well, but I just cant get mail sent by php, although
no errors are reported.

Do I understand it correctly that this simple script should send me a mail?
This is just to test that it works.

<?php
mail('me@whatever.com', 'My Subject', 'message');
header( "Location: http://webserver/message_sent.htm" );
?>

Okay, the " Location: http://webserver/message_sent.htm" comes up fine, and
"<?php phpinfo() ?>" also works fine. SMTP allows relay from my subnet and
does not need authentication.

View Replies !
Mail() / Sendmail Sending Mail As Spam
Wondering if anybody knows why when sending mail through my local sendmail program using the PHP mail() function; emails either do not reach the destination, or register as spam? Prime example is: h0tm@il addresses never receive the email, gmail addresses consider the email to be spam, and my workplace receive the email about 1 hour after the program finishes.

Could it be a problem with my ISP? I am using Fedora Core 6, PHP 5 and Apache 2. Or test it yourself.. just fill out the form with some rubbish and it should send an email saying you've registered.. maybe you can figure out where I am going wrong by looking at the headers? http://aaronweb.no-ip.com:6969/?p=2

View Replies !
PHP Mail() Function Failing To Send Mail
Our setup: PHP 4.3.11, FreeBSD 5.3 RELEASE, Sendmail 8.1, 1 host
environment, 2 jails.

Our problem: While we can send email from the command line just fine
in one of the jails, we cannot use the php mail() command to send email
using sendmail at all. The function, when executed, does absolutely
nothing. No error, no reports to the maillog, nothing.

I've read somewhere that it's "not possible" to send mail using the php
mail() function within a freebsd jail, but i'm nearly certain we have
it working this way on another server, but can't seem to figure out the
issue.

View Replies !
Send Out The Most Basic E-mail Using PHP And The Mail() Function.
im trying to send out the most basic e-mail using PHP and the mail() function.
the problem i have is that it will always return true but the message is never received and im not sure if its even sent. heres my code....

      $email = "jonathangilmartin@yahoo.co.uk";
      $subject = "Subject!";
      $body = "whatever you want to email";
      $from = "From: Jon <john@beach.es>";
      $p5 = '-f john@beach.es';
if(mail($to,$subj,$mesg,$from,$p5)){
echo " sent ok ";
}
else {
echo " failed ";
}

I think the problem I have could be due to the server I am hosting the site on, but dont quote me on this as im not sure. The site is hosted on my university server, ive now graduated so I cannot ask the support team if any ports are blocked. Does anyone know a way of testing a servers ports, if this is even necessary of course !

can anyone explain the typical server requirements to send e-mail using PHP, i assume port 25 must be open and the server must accept SMTP. Forgive me for asking a dumb question but I take it that i cannot test the mail() function from my testing apache server installed on my local PC ?

Also you will have noticed that i have a yahoo e-mail address, would i have to make any changes to my account to get this working ?? its only a standard free e-mail account.

View Replies !
Sending Mail To Hotmail Using The Mail() Function
I have been doing some research into how to send mail to a Hotmail address using the mail() function provided in PHP, in previous posts I may have been wrong in mentioning that you need to add your mail server to the hotmail PostMaster website using Smart Network Data Services (SNDS), after doing some research I have found that in order to send e-mail to a Hotmail address you need to add/ask your host to add an SPF record to your domain.

What is SPF?

Well, SPF is a protocol used to eliminate forged e-mails, much like SSL certificates help eliminate phising websites. Microsoft use the SPF record against the SenderID Framework that they have in place.

How do I go about obtaining an SPF Record?

Easy! use the Microsoft wizard found at:

http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/

to generate a unique SPF record for your domain, then add it to your DNS server, or ask your web host to do this.

I manage my own DNS server, how do I add an SPF record to a domain?

To begin, open the DNS MMC from the Administrative Tools menu of your Windows Server 2003 system. Next, find the domain that will host the SPF DNS lookup record. 

Highlight the folder for the domain, and select Other New Records from the Action menu. You can also access this menu by right-clicking the domain folder.

The resource Record Type dialog box will be displayed. From the Select a Resource Record Type area of the screen, scroll down the list and select Text (TXT) from the list.

Click Create Record. This will bring up the New Resource Record dialog box to appear. This is where you paste the SPF record generated by the above website

----------------------------------------------------------------------------------------------------------------------------------
I hope this helps, I have tried it myself and e-mails went straight to my inbox (not junk mail). Would also appreciate feedback if this works for other providers such as Yahoo! etc as I have not tried it with them

Give me your feedback on how it works for you, also if it works possibly make this thread sticky as I'm sure it will resolve many problems for people out there who are denying access to people who have public email addresses.

View Replies !
Mail() Code Doesn't Seem To Send Any Mail
mail($toemail, "Greetings card from $from", $message, "FROM:Website Name<noreply@ourdomain.com>") or die("MAIL NOT SENT");

This code doesn't seem to send any mail - any ideas? Also are there any more advanced features that can be added to validate if the email is sent or not?

View Replies !
Mail(): Could Not Execute Mail Delivery Program
I have been sending mails from ym server for ages but all of a sudden i get "Warning: mail(): Could not execute mail delivery program '/usr/sbin/sendmail -t -i' in /home/needsite/public_html/includes.php on line 8"

I dont think iv changed anything... any ideas?

View Replies !
Mail() Function Doesn't Seem To Be Sending MAIL FROM: Properly
I'm trying to send an email using the mail() function. I've carefully made use of the ini_set(SMTP, "mail.my.server") function to set my SMTP server and also to set my From: address. I'm still getting a "Relaying not explicitly allowed: fakeemail@fakedomain.com" response from the server however, when I try and set a recipient who is outside of my own
domain. This makes my think that the From: address is somehow not getting sent to my server properly or that I'm pointing at the wrong server.

The confounding thing is that it was working for a while and I don't think I changed anything and it just stopped.

I'm running these PHP pages for a client off of one of those cheap hosting services, I think it's called 1dollarhost.com or something, although I can't remember at the moment.

Has anyone else had trouble with this or found a solution?

View Replies !
PHP Mail Issue - Mail Not Reciving On All Providers
I am using this line of code to send mail
<?
$recpt = $_POST['email'];
?>
<?
$to = "$recpt";
$subject = "SUBJECT";
$body = 'BODY'
$from = "From: admin@site.com" . "X-Mailer: php";
mail($to, $subject, $body, $from);
?>

To send mail.... in Gmail.. it recives just fine, however in Yahoo/AOL .. it doesnt recive at all , and in MSN it goes in "junk" folder ... I have tested it on Gmail, Yahoo, MSN, and AOL ... everything but Yahoo and AOL recive ,but as I said before.. in MSN it goes in junk....

View Replies !
Mail Function Send Mail And Attachement
i can send mail and attachement in php with "mail function "

$s = mail($to,$subject,$cont, $headers);

View Replies !
Mail Form - Sender's E-mail Address
I am less than a newbie when it comes to PHP. I recently picked up a book and I am trying to get through. So please keep that in mind when you post a reply.

I have a mail form that is working great except that when it sends me the e-mails, it does not want to put the sender's e-mail address in the "From" field of the e-mail. The book that I have simply says that there is not a foolproof way to fix this. I say, that is why I bought the book, but it still doesn't explain it.

If you know a workaround for this little issue I would appreciate your help. I tried searching this site for a similar post, but I am must not be typing the right question, 'cause I ain't finding an answer.

View Replies !
Using The Mail() Command To Send Out An E-mail Message.
I am using the mail() command to send out an e-mail message. But, I am getting different results between two different clients. I am curious if this is a PHP problem, or just a problem with the way the clients are interpreting the headers. Code:

View Replies !
Formmail Send The Form As A Mail (mail())c
-one html -file containing a form, submitting the form (action, onSubmit)
-redirecting to a php processing -file, configure and send the form as a mail (mail())
-if mail() returns true: redirect to the form, AND a new window containing submitted data from the form poping up. Close popup window: return to the form.

View Replies !
Warning: Mail() [function.mail]: Failed To Connect To Mailserver At "localhost" Port 25
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in send.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at send.php:9) in send.php on line 10

why this warning and error coming when i am using this cording help me to solve this problem.

View Replies !
Mail Download From Yahoo Mail With PHP
I want to get mail from yahoo mail by PHP.

actualy, i want to create an application which one will save mail data
(mail receive time, mail sender information etc.)from yahoo mail and
save that data to mySql database automaticly.

have u any PHP function which one will direct connect with yahoo mail
server and save that data to my mySql Database.

View Replies !
Mail() Returns False But Mail Is Sent
I'm doing a bit of work for a guy and on his system the mail() function
always returns false, but the mail is sent.

Anyone come across this? Any ideas what is causing it and how to fix
it?
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.

View Replies !
Sending Mail Otherthan Mail()
My server admin has blocked the mail() due to some spam problems. I
need to send emails using php. Can anyone guide me to the best method
of sending emails using php without using mail().

If there is any tweak to be done at the server level I will be able to
convince the admin. The server has linux Enterprice edition 3 with php
4.3.11 and cpanel/whm.

View Replies !
HTML Mail With Mail(). (Bad Formatting It Says)
I'm trying to send a HTML-mail with mail(), and I'm using the function can be seen here:

http://www.webmasterworld.com/forum88/3288-1-10.htm

The script is working on some clients but not on everyone. The fault I get from the headers in the sent mails is:

"X-Mail-Format-Warning: Bad RFC2822 header formatting "

I'm kinda new to this stuff with multipart-MIME emails, and would appreciate some help.

View Replies !
Mail() Error - Use The Mail() Function
I am getting this message when I try to use the mail() function. Please let me know what it means and how I fix it.

Warning: mail(): SMTP server response: 501 Invalid Address in C:AccountsjsniggitwwwRootincprayer.php on line 105

Line 105 = mail($mail,$subject,$message,$header);

I dont get the invalid address part cause $mail is just my email ....

View Replies !
Warning: Mail() [function.mail]:
I am trying to send an email through php using the mail() function but getting the following error:

Warning: mail() [function.mail]: SMTP server response: my-server-name-here [my-ip-address-here] is currently not 550-permitted to relay through this server. Perhaps you have not logged into 550-the pop/imap server in the last 30 minutes or do not have SMTP 550 Authentication turned on in your email client.My PHP Code is:

<?php
$to = 'nobody@example.com'
$subject = 'the subject'
$message = 'hello'
$headers = 'From: webmaster@example.com' . "" .
'Reply-To: webmaster@example.com' . "" .
'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?>

FYI: I am running this code on windows 2003 server and i can send email using Horde. What I am guessing is I need to add smtp authentication in my php code, so If you can tell me what is the syntax that can help me. how to overcome this problem?

View Replies !

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