With the help from this group, I was able to change my Return-Path parameter
seen in the full headers of email sent with mail().
Now I still see my userID in the parameter as shown here seen in my full
headers of my email sent.
Received: (from userID@localhost) by mydomain.com
Any ideas?
Thanks again! 10 2616
"NotGiven" <no****@nonegiven.net> wrote in message
news:XZ*****************@bignews6.bellsouth.net... With the help from this group, I was able to change my Return-Path
parameter seen in the full headers of email sent with mail().
Now I still see my userID in the parameter as shown here seen in my full headers of my email sent.
Received: (from userID@localhost) by mydomain.com
Any ideas?
Thanks again!
I am working on a new piece of mailer script, that will MX mail right into
the destination mail server.
(in between my scuba diving, I will finishit, the code is not hard, but
comming up with a good layout is)
This will address the problem, look for it on my site later.
--
Mike Bradley http://gzen.myhq.info -- free online php tools
> "NotGiven" <no****@nonegiven.net> wrote in message news:XZ*****************@bignews6.bellsouth.net... With the help from this group, I was able to change my Return-Path parameter seen in the full headers of email sent with mail().
Now I still see my userID in the parameter as shown here seen in my full headers of my email sent.
Received: (from userID@localhost) by mydomain.com
Any ideas?
Thanks again!
ok, new MX mailing script is done, you can find it here: http://www.gzentools.com/snippetview...l&v=mxmail.php
--
Mike Bradley http://www.gzentools.com -- free online php tools
thanks. I don't know enough about PHP to understand it all but it look
slike I might be able try to understand it.
I need to loop through names in a database and send an email to each
indivdually. I suppose I could send all names to an array and pass that to
the function, and add a loop/foreach.
Thanks again.
"CountScubula" <me@scantek.hotmail.com> wrote in message
news:Qg***************@newssvr27.news.prodigy.com. .. "NotGiven" <no****@nonegiven.net> wrote in message news:XZ*****************@bignews6.bellsouth.net... With the help from this group, I was able to change my Return-Path parameter seen in the full headers of email sent with mail().
Now I still see my userID in the parameter as shown here seen in my full headers of my email sent.
Received: (from userID@localhost) by mydomain.com
Any ideas?
Thanks again!
I am working on a new piece of mailer script, that will MX mail right into the destination mail server. (in between my scuba diving, I will finishit, the code is not hard, but comming up with a good layout is)
This will address the problem, look for it on my site later.
-- Mike Bradley http://gzen.myhq.info -- free online php tools
"NotGiven" <no****@nonegiven.net> wrote in message
news:tc*****************@bignews3.bellsouth.net... thanks. I don't know enough about PHP to understand it all but it look slike I might be able try to understand it.
I need to loop through names in a database and send an email to each indivdually. I suppose I could send all names to an array and pass that
to the function, and add a loop/foreach.
Thanks again.
let me ask a question,
how many emails do you need to send, and are you doing this from a web page?
Reason I ask, is there is an easier way to do it, if this is a background
proccess.
--
Mike Bradley http://www.gzentools.com -- free online php tools
Hi Mike,
Great scripts, I have been fooling with the first one all weekend. Neat
thing.
On this new one though I get this error ; See http://pobox.com/~djb/docs/smtplf.html
It's about 'raw linefeeds' any help here ?
On Mon, 05 Jan 2004 01:29:55 GMT, CountScubula <me@scantek.hotmail.com>
wrote: "NotGiven" <no****@nonegiven.net> wrote in message news:XZ*****************@bignews6.bellsouth.net... > With the help from this group, I was able to change my Return-Path parameter > seen in the full headers of email sent with mail(). > > Now I still see my userID in the parameter as shown here seen in my full > headers of my email sent. > > Received: (from userID@localhost) by mydomain.com > > > Any ideas? > > Thanks again!
ok, new MX mailing script is done, you can find it here: http://www.gzentools.com/snippetview...l&v=mxmail.php
-- Mike Bradley http://www.gzentools.com -- free online php tools
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
"malcolm" <ma*****@mbrownell.com> wrote in message
news:op**************@news.east.cox.net... Hi Mike,
Great scripts, I have been fooling with the first one all weekend.
Neat thing.
Thank you
On this new one though I get this error ; See http://pobox.com/~djb/docs/smtplf.html
It's about 'raw linefeeds' any help here ?
sorry, I guess, I should go clean up some of my stuff.
on everything in my script that you are using, when you find a \n, replace
it with \r\n
--
Mike Bradley http://www.gzentools.com -- free online php tools
That was it, thanks Scub, you rock.
I like your site too.
On Mon, 05 Jan 2004 21:40:02 GMT, CountScubula <me@scantek.hotmail.com>
wrote: "malcolm" <ma*****@mbrownell.com> wrote in message news:op**************@news.east.cox.net... Hi Mike,
Great scripts, I have been fooling with the first one all weekend.
Neat thing.
Thank you
On this new one though I get this error ; See http://pobox.com/~djb/docs/smtplf.html
It's about 'raw linefeeds' any help here ?
sorry, I guess, I should go clean up some of my stuff.
on everything in my script that you are using, when you find a \n, replace it with \r\n
-- Mike Bradley http://www.gzentools.com -- free online php tools
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
I downloaded a simple mailing list tool from hotscripts and here's the meat
of the sending engine with your siggestion added to the mail parameters:
$headers = "From: \"".FROMNAME."\" <".FROMEMAIL.">\r\n";
$email['fromemail'] = "me@mydomain.com";
while ($row = mysql_fetch_array($res2)) {
$email_addr = $row[0];
$fullmessage = $_POST[message];
mail("$email_addr", "$_POST[subject]", $fullmessage, $headers, "-f
{$email[fromemail]}");
}
echo "email sent!"; let me ask a question,
how many emails do you need to send, and are you doing this from a web
page? Reason I ask, is there is an easier way to do it, if this is a background proccess.
-- Mike Bradley http://www.gzentools.com -- free online php tools
"NotGiven" <no****@nonegiven.net> wrote in message
news:zV******************@bignews1.bellsouth.net.. . I downloaded a simple mailing list tool from hotscripts and here's the
meat of the sending engine with your siggestion added to the mail parameters:
$headers = "From: \"".FROMNAME."\" <".FROMEMAIL.">\r\n"; $email['fromemail'] = "me@mydomain.com"; while ($row = mysql_fetch_array($res2)) { $email_addr = $row[0]; $fullmessage = $_POST[message]; mail("$email_addr", "$_POST[subject]", $fullmessage, $headers, "-f {$email[fromemail]}"); } echo "email sent!";
by the way, there needs to be quotes around the fromemail item in the -f
line
ok, I take it you are filling out a web page and waiting for it to send to
each user.
I would modify my mx mail script to relay throug local host and loop throug
after the connection is made
--
Mike Bradley http://www.gzentools.com -- free online php tools
thanks.
"CountScubula" <me@scantek.hotmail.com> wrote in message
news:Lm****************@newssvr27.news.prodigy.com ... "NotGiven" <no****@nonegiven.net> wrote in message news:zV******************@bignews1.bellsouth.net.. . I downloaded a simple mailing list tool from hotscripts and here's the meat of the sending engine with your siggestion added to the mail parameters:
$headers = "From: \"".FROMNAME."\" <".FROMEMAIL.">\r\n"; $email['fromemail'] = "me@mydomain.com"; while ($row = mysql_fetch_array($res2)) { $email_addr = $row[0]; $fullmessage = $_POST[message]; mail("$email_addr", "$_POST[subject]", $fullmessage, $headers,
"-f {$email[fromemail]}"); } echo "email sent!";
by the way, there needs to be quotes around the fromemail item in the -f line ok, I take it you are filling out a web page and waiting for it to send to each user.
I would modify my mx mail script to relay throug local host and loop
throug after the connection is made
-- Mike Bradley http://www.gzentools.com -- free online php tools
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: NotGiven |
last post by:
I am sending email using the mail() function on a hosted account. I am
trying to override the RETURN-PATH variable but it is not working. The
server keeps overriding the variable I put in.
...
|
by: a c s |
last post by:
Hi there, my problem is as follows:
When emailing a file using PHP 4.0.6, the attachment received is an
empty "attachment.txt" file instead of the actual file I attached.
Any suggestions why...
|
by: dont bother |
last post by:
Hi,
I am a new bie experimenting with python.
I have this piece of code to parse the received
headers from emails. However, when I run with a file
as an argument it skips lines like: 1, 3, 5...
|
by: Bill |
last post by:
Hello Programmers,
I am looking for either Java Script (OR HTML etc)
to DEFEAT Pop-up Stoppers
e.g It will bring up a window that will
LOOK like a Pop-up
FEEL like a Pop-up
Allow a name and...
|
by: clintonG |
last post by:
I haven't written any mail handlers using .NET at this time. I need to know
however if there is a failsafe methodology supported by the classes in the
framework if it will be possible to send mail...
|
by: Mark A |
last post by:
DB2 ESE 8.2.3 (FP10) for Linux
We are experiencing a connection hang of 10 - 15 minutes in the following
HADR and automatic client reroute scenario:
01 server is primary database
02 server is...
|
by: poobalan |
last post by:
Hi,
I have developed a application for my compnay.. the process of the application is..
1) it simply read the mail from Mailbox(Outlook) and stores it to Sql Data base.
2)...
|
by: venutaurus539 |
last post by:
Hi,,
How can we access the time of message received ( UTC time) of an
outlook mail in python? As far as I know the time which it displays in
the mail is not the exact time... this UTC time will be...
|
by: asdffdsa |
last post by:
HI,
i m making a application ,in which i wants to received mail which received in outlook express using our application ,also i need to support that i can also take there attachements while my...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |