473,574 Members | 2,659 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sending mail from localhost to yahoo, gmail, hotmail, etc

Hi I am creating a newsletter system. The software should run from
desktop computer (localhost) but be able to send email to anyone on
the internet. Can you guys give me some ideas on how to achieve this.

Thanks
Apr 9 '08 #1
7 9771
On Apr 8, 7:12 pm, undbund <undb...@gmail. comwrote:
Hi I am creating a newsletter system. The software should run from
desktop computer (localhost) but be able to send email to anyone on
the internet. Can you guys give me some ideas on how to achieve this.
Usual and easiest way is to have two components: some kind of a mailer
(like sendmail) and your program submitting messages to it. So you
have sendmail installed and:

SMTP localhost
smtp_port 25

in your php.ini

in your program you call mail($email, $subject, $message) and sendmail
will take care of the rest

/sandy
http://myphpquiz.com/
Apr 9 '08 #2
On Apr 12, 1:26 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
undbund wrote:
On Apr 10, 4:37 am, "Twayne" <nob...@devnull .spamcop.netwro te:
>On Apr 9, 2:51 pm, Michael Austin <maus...@firstd basource.comwro te:
Sandy wrote:
On Apr 8, 7:12 pm,undbund<undb ...@gmail.comwr ote:
Hi I am creating a newsletter system. The software should run from
desktop computer (localhost) but be able to send email to anyone on
the internet. Can you guys give me some ideas on how to achieve
this.
Usual and easiest way is to have two components: some kind of a
mailer (like sendmail) and your program submitting messages to it.
So you have sendmail installed and:
SMTP localhost
smtp_port 25
in your php.ini
in your program you call mail($email, $subject, $message) and
sendmail will take care of the rest
/sandy
http://myphpquiz.com/
Be aware that if you do not have ReverseDNS to the IP address of your
mail server or you are using DynamicDNS from dsl, cablemodem or
dialup it will more than likely be rejected. And if you use your ISP
mail servers, if you send too many in an hour, my get flagged as a
spammer and they will shut you down. Some ISP's have gone so far as
to not allow port 25 outbound from these "dialup" ip addresses. AT&T
recently instituted such practices - sounds like a lawsuit to me.
If you use your "gmail" or your own domain in your FROM/REPLY TO:
addresses, you must register as valid address coming from your ISP
username/pwd also requiring SSL encryption of all mail. You will
most likely need to locate php/sasl to use from your server.
A good mailer is phpmailer will do most of this, but you will need to
add the ssl stuff..
Thanks guys for all your feedback. I am told the software will have to
run on Windows machine. I have been researching on the internet and
found out about XAMPP. It comes with Apache, PHP, MySQL and and
Mercury mail server. I am not able to get it working to send mail from
localhost to internet. I will try your methods to get it working. If
you guys have managed to make it work with XAMPP. Can you please give
me some directions.
Thanks for all your help.
I'm a newbie, but have xampp's apache/php/sql all in one installed;
works great, only using locally. I am sending e-mail to multiple
recipients using its standard mail() function and it works fine.
Responses to form submissions go back to the questioner and three other
interested parties; it all worked first time every time when I uploaded
the code to the site. Locally I purposely let it fail when it can't
find port25 'cause the rest is known to work locally and works 100% when
it gets to the site.
Not sure what directions to give; it just works. I'm too newbie to
know what kind of answers others might need.
I will say it's better to manually install xampp; same results, but you
get to figure out a lot of the nuances by doing the install on your own.
So, after I'd used the all in one enough to know a little about it, I
wiped it out and did a manual install. Had some problems but it was
worth the trouble.
--
Regards,
Twayne
Open Office isn't just for wimps anymore;
OOo is a GREAT MS Office replacementwww. openoffice.org
Hi Guys, I have managed to make the Mercury mail server send mail from
local host to my yahoo mail using Google SMTP.
But I do not know how to put the settings in php.ini.
For sending mail via Google SMTP you will need port 465 and SSL
connection using direct connection.
How would I put this information in php.ini
Thanks

mail() itself doesn't do ssl. Check out the Pear::Mail class, which
should help (and make things easier).

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
Hi, Thanks guys for your help, I have used PHPmailer to send
newsletters from localhost. However the images don't show up. So I
would like to convert the html file to PDF. Do you guys know of a
really good php script that can do this?

By the way, how do you make this code work?

<?php

try {
$p = new PDFlib();

/* open new PDF file; insert a file name to create the PDF on disk
*/
if ($p->begin_document ("", "") == 0) {
die("Error: " . $p->get_errmsg() );
}

$p->set_info("Crea tor", "hello.php" );
$p->set_info("Auth or", "Rainer Schaaf");
$p->set_info("Titl e", "Hello world (PHP)!");

$p->begin_page_ext (595, 842, "");

$font = $p->load_font("Hel vetica-Bold", "winansi", "");

$p->setfont($fon t, 24.0);
$p->set_text_pos(5 0, 700);
$p->show("Hello world!");
$p->continue_text( "(says PHP)");
$p->end_page_ext(" ");

$p->end_document(" ");

$buf = $p->get_buffer() ;
$len = strlen($buf);

header("Content-type: application/pdf");
header("Content-Length: $len");
header("Content-Disposition: inline; filename=hello. pdf");
print $buf;
}
catch (PDFlibExceptio n $e) {
die("PDFlib exception occurred in hello sample:\n" .
"[" . $e->get_errnum() . "] " . $e->get_apiname( ) . ": " .
$e->get_errmsg() . "\n");
}
catch (Exception $e) {
die($e);
}
$p = 0;
?>

I get the following error:

Connection Interrupted, The network link was interrupted while
negotiating a connection. Please try again.
Jun 2 '08 #3
undbund wrote:
On Apr 12, 1:26 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>undbund wrote:
>>On Apr 10, 4:37 am, "Twayne" <nob...@devnull .spamcop.netwro te:
On Apr 9, 2:51 pm, Michael Austin <maus...@firstd basource.comwro te:
>Sandy wrote:
>>On Apr 8, 7:12 pm,undbund<undb ...@gmail.comwr ote:
>>>Hi I am creating a newsletter system. The software should run from
>>>deskto p computer (localhost) but be able to send email to anyone on
>>>the internet. Can you guys give me some ideas on how to achieve
>>>this.
>>Usual and easiest way is to have two components: some kind of a
>>mailer (like sendmail) and your program submitting messages to it.
>>So you have sendmail installed and:
>>SMTP localhost
>>smtp_po rt 25
>>in your php.ini
>>in your program you call mail($email, $subject, $message) and
>>sendmai l will take care of the rest
>>/sandy
>>http://myphpquiz.com/
>Be aware that if you do not have ReverseDNS to the IP address of your
>mail server or you are using DynamicDNS from dsl, cablemodem or
>dialup it will more than likely be rejected. And if you use your ISP
>mail servers, if you send too many in an hour, my get flagged as a
>spammer and they will shut you down. Some ISP's have gone so far as
>to not allow port 25 outbound from these "dialup" ip addresses. AT&T
>recently instituted such practices - sounds like a lawsuit to me.
>If you use your "gmail" or your own domain in your FROM/REPLY TO:
>addresse s, you must register as valid address coming from your ISP
>username/pwd also requiring SSL encryption of all mail. You will
>most likely need to locate php/sasl to use from your server.
>A good mailer is phpmailer will do most of this, but you will need to
>add the ssl stuff..
Thanks guys for all your feedback. I am told the software will have to
run on Windows machine. I have been researching on the internet and
found out about XAMPP. It comes with Apache, PHP, MySQL and and
Mercury mail server. I am not able to get it working to send mail from
localhost to internet. I will try your methods to get it working. If
you guys have managed to make it work with XAMPP. Can you please give
me some directions.
Thanks for all your help.
I'm a newbie, but have xampp's apache/php/sql all in one installed;
works great, only using locally. I am sending e-mail to multiple
recipients using its standard mail() function and it works fine.
Responses to form submissions go back to the questioner and three other
interested parties; it all worked first time every time when I uploaded
the code to the site. Locally I purposely let it fail when it can't
find port25 'cause the rest is known to work locally and works 100% when
it gets to the site.
Not sure what directions to give; it just works. I'm too newbie to
know what kind of answers others might need.
I will say it's better to manually install xampp; same results, but you
get to figure out a lot of the nuances by doing the install on your own.
So, after I'd used the all in one enough to know a little about it, I
wiped it out and did a manual install. Had some problems but it was
worth the trouble.
--
Regards,
Twayne
Open Office isn't just for wimps anymore;
OOo is a GREAT MS Office replacementwww. openoffice.org
Hi Guys, I have managed to make the Mercury mail server send mail from
local host to my yahoo mail using Google SMTP.
But I do not know how to put the settings in php.ini.
For sending mail via Google SMTP you will need port 465 and SSL
connection using direct connection.
How would I put this information in php.ini
Thanks
mail() itself doesn't do ssl. Check out the Pear::Mail class, which
should help (and make things easier).

--
============== ====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attg lobal.net
============== ====

Hi, Thanks guys for your help, I have used PHPmailer to send
newsletters from localhost. However the images don't show up. So I
would like to convert the html file to PDF. Do you guys know of a
really good php script that can do this?
Rather than create a PDF (which will be larger and won't display inline
on the user's mail reader), I'd suggest you figure out the problem with
them not showing up and fix that.

Not having your code to generate the html, we have no idea how to help you.
By the way, how do you make this code work?
<snip lots of code>
>
Connection Interrupted, The network link was interrupted while
negotiating a connection. Please try again.
Nothing in your code that I can see should cause that problem. Network
timeout, maybe?

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Jun 2 '08 #4
On Apr 14, 1:21 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
undbund wrote:
On Apr 12, 1:26 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
undbund wrote:
On Apr 10, 4:37 am, "Twayne" <nob...@devnull .spamcop.netwro te:
On Apr 9, 2:51 pm, Michael Austin <maus...@firstd basource.comwro te:
Sandy wrote:
>On Apr 8, 7:12 pm,undbund<undb ...@gmail.comwr ote:
>>Hi I am creating a newsletter system. The software should run from
>>desktop computer (localhost) but be able to send email to anyone on
>>the internet. Can you guys give me some ideas on how to achieve
>>this.
>Usual and easiest way is to have two components: some kind of a
>mailer (like sendmail) and your program submitting messages to it.
>So you have sendmail installed and:
>SMTP localhost
>smtp_por t 25
>in your php.ini
>in your program you call mail($email, $subject, $message) and
>sendmail will take care of the rest
>/sandy
>>http://myphpquiz.com/
Be aware that if you do not have ReverseDNS to the IP address of your
mail server or you are using DynamicDNS from dsl, cablemodem or
dialup it will more than likely be rejected. And if you use your ISP
mail servers, if you send too many in an hour, my get flagged as a
spammer and they will shut you down. Some ISP's have gone so far as
to not allow port 25 outbound from these "dialup" ip addresses. AT&T
recently instituted such practices - sounds like a lawsuit to me.
If you use your "gmail" or your own domain in your FROM/REPLY TO:
addresses , you must register as valid address coming from your ISP
username/pwd also requiring SSL encryption of all mail. You will
most likely need to locate php/sasl to use from your server.
A good mailer is phpmailer will do most of this, but you will need to
add the ssl stuff..
Thanks guys for all your feedback. I am told the software will have to
run on Windows machine. I have been researching on the internet and
found out about XAMPP. It comes with Apache, PHP, MySQL and and
Mercury mail server. I am not able to get it working to send mail from
localhost to internet. I will try your methods to get it working. If
you guys have managed to make it work with XAMPP. Can you please give
me some directions.
Thanks for all your help.
I'm a newbie, but have xampp's apache/php/sql all in one installed;
works great, only using locally. I am sending e-mail to multiple
recipients using its standard mail() function and it works fine.
Responses to form submissions go back to the questioner and three other
interested parties; it all worked first time every time when I uploaded
the code to the site. Locally I purposely let it fail when it can't
find port25 'cause the rest is known to work locally and works 100% when
it gets to the site.
Not sure what directions to give; it just works. I'm too newbie to
know what kind of answers others might need.
I will say it's better to manually install xampp; same results, but you
get to figure out a lot of the nuances by doing the install on your own.
So, after I'd used the all in one enough to know a little about it, I
wiped it out and did a manual install. Had some problems but it was
worth the trouble.
--
Regards,
Twayne
Open Office isn't just for wimps anymore;
OOo is a GREAT MS Office replacementwww. openoffice.org
Hi Guys, I have managed to make the Mercury mail server send mail from
local host to my yahoo mail using Google SMTP.
But I do not know how to put the settings in php.ini.
For sending mail via Google SMTP you will need port 465 and SSL
connection using direct connection.
How would I put this information in php.ini
Thanks
mail() itself doesn't do ssl. Check out the Pear::Mail class, which
should help (and make things easier).
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
Hi, Thanks guys for your help, I have used PHPmailer to send
newsletters from localhost. However the images don't show up. So I
would like to convert the html file to PDF. Do you guys know of a
really good php script that can do this?

Rather than create a PDF (which will be larger and won't display inline
on the user's mail reader), I'd suggest you figure out the problem with
them not showing up and fix that.

Not having your code to generate the html, we have no idea how to help you.
By the way, how do you make this code work?

<snip lots of code>
Connection Interrupted, The network link was interrupted while
negotiating a connection. Please try again.

Nothing in your code that I can see should cause that problem. Network
timeout, maybe?

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
Well to fix the problem, I would have to ftp images to an online
server and code the html page to pull images from that online server.
I don't want to do this. I am creating an offline package that should
do everything from an offline server. Since there will only be a
localhost and not an actual domain, i won't be able to link the images
to the offline server. So the best idea would be able to attach a pdf
of the newsletter and send it.

So any good PHP free, open source scripts that can covert html to pdf?

Thanks for all your help.
Jun 2 '08 #5
undbund wrote:
On Apr 14, 1:21 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>undbund wrote:
>>On Apr 12, 1:26 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
undbund wrote:
On Apr 10, 4:37 am, "Twayne" <nob...@devnull .spamcop.netwro te:
>>On Apr 9, 2:51 pm, Michael Austin <maus...@firstd basource.comwro te:
>>>Sandy wrote:
>>>>On Apr 8, 7:12 pm,undbund<undb ...@gmail.comwr ote:
>>>>>Hi I am creating a newsletter system. The software should run from
>>>>>deskto p computer (localhost) but be able to send email to anyone on
>>>>>the internet. Can you guys give me some ideas on how to achieve
>>>>>this .
>>>>Usual and easiest way is to have two components: some kind of a
>>>>maile r (like sendmail) and your program submitting messages to it.
>>>>So you have sendmail installed and:
>>>>SMTP localhost
>>>>smtp_po rt 25
>>>>in your php.ini
>>>>in your program you call mail($email, $subject, $message) and
>>>>sendmai l will take care of the rest
>>>>/sandy
>>>>http://myphpquiz.com/
>>>Be aware that if you do not have ReverseDNS to the IP address of your
>>>mail server or you are using DynamicDNS from dsl, cablemodem or
>>>dialup it will more than likely be rejected. And if you use your ISP
>>>mail servers, if you send too many in an hour, my get flagged as a
>>>spamme r and they will shut you down. Some ISP's have gone so far as
>>>to not allow port 25 outbound from these "dialup" ip addresses. AT&T
>>>recent ly instituted such practices - sounds like a lawsuit to me.
>>>If you use your "gmail" or your own domain in your FROM/REPLY TO:
>>>addresse s, you must register as valid address coming from your ISP
>>>userna me/pwd also requiring SSL encryption of all mail. You will
>>>most likely need to locate php/sasl to use from your server.
>>>A good mailer is phpmailer will do most of this, but you will need to
>>>add the ssl stuff..
>>Thanks guys for all your feedback. I am told the software will have to
>>run on Windows machine. I have been researching on the internet and
>>found out about XAMPP. It comes with Apache, PHP, MySQL and and
>>Mercury mail server. I am not able to get it working to send mail from
>>localho st to internet. I will try your methods to get it working. If
>>you guys have managed to make it work with XAMPP. Can you please give
>>me some directions.
>>Thanks for all your help.
>I'm a newbie, but have xampp's apache/php/sql all in one installed;
>works great, only using locally. I am sending e-mail to multiple
>recipien ts using its standard mail() function and it works fine.
>Response s to form submissions go back to the questioner and three other
>interest ed parties; it all worked first time every time when I uploaded
>the code to the site. Locally I purposely let it fail when it can't
>find port25 'cause the rest is known to work locally and works 100% when
>it gets to the site.
> Not sure what directions to give; it just works. I'm too newbie to
>know what kind of answers others might need.
>I will say it's better to manually install xampp; same results, but you
>get to figure out a lot of the nuances by doing the install on your own.
>So, after I'd used the all in one enough to know a little about it, I
>wiped it out and did a manual install. Had some problems but it was
>worth the trouble.
>--
>Regards,
>Twayne
>Open Office isn't just for wimps anymore;
>OOo is a GREAT MS Office replacementwww. openoffice.org
Hi Guys, I have managed to make the Mercury mail server send mail from
local host to my yahoo mail using Google SMTP.
But I do not know how to put the settings in php.ini.
For sending mail via Google SMTP you will need port 465 and SSL
connectio n using direct connection.
How would I put this information in php.ini
Thanks
mail() itself doesn't do ssl. Check out the Pear::Mail class, which
should help (and make things easier).
--
============ ======
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@at tglobal.net
============ ======
Hi, Thanks guys for your help, I have used PHPmailer to send
newsletters from localhost. However the images don't show up. So I
would like to convert the html file to PDF. Do you guys know of a
really good php script that can do this?
Rather than create a PDF (which will be larger and won't display inline
on the user's mail reader), I'd suggest you figure out the problem with
them not showing up and fix that.

Not having your code to generate the html, we have no idea how to help you.
>>By the way, how do you make this code work?
<snip lots of code>
>>Connection Interrupted, The network link was interrupted while
negotiating a connection. Please try again.
Nothing in your code that I can see should cause that problem. Network
timeout, maybe?

--
============== ====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attg lobal.net
============== ====

Well to fix the problem, I would have to ftp images to an online
server and code the html page to pull images from that online server.
I don't want to do this. I am creating an offline package that should
do everything from an offline server. Since there will only be a
localhost and not an actual domain, i won't be able to link the images
to the offline server. So the best idea would be able to attach a pdf
of the newsletter and send it.
OK, so you're doing everything from an offline server. You can put the
images on the localhost, also. And you can include the images in the
email - I get dozens of newsletters a day with images in the email itself.
So any good PHP free, open source scripts that can covert html to pdf?

Thanks for all your help.
Don't know of any, but then this isn't the place to ask. If you want to
create pdf's with PHP, there's the fpdf package which works well.

But be prepared to lose readers.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Jun 2 '08 #6
On Apr 14, 10:30 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
undbund wrote:
On Apr 14, 1:21 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
undbund wrote:
On Apr 12, 1:26 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
undbund wrote:
On Apr 10, 4:37 am, "Twayne" <nob...@devnull .spamcop.netwro te:
>On Apr 9, 2:51 pm, Michael Austin <maus...@firstd basource.comwro te:
>>Sandy wrote:
>>>On Apr 8, 7:12 pm,undbund<undb ...@gmail.comwr ote:
>>>>Hi I am creating a newsletter system. The software should run from
>>>>deskt op computer (localhost) but be able to send email to anyone on
>>>>the internet. Can you guys give me some ideas on how to achieve
>>>>this.
>>>Usual and easiest way is to have two components: some kind of a
>>>mailer (like sendmail) and your program submitting messages to it.
>>>So you have sendmail installed and:
>>>SMTP localhost
>>>smtp_por t 25
>>>in your php.ini
>>>in your program you call mail($email, $subject, $message) and
>>>sendma il will take care of the rest
>>>/sandy
>>>>http://myphpquiz.com/
>>Be aware that if you do not have ReverseDNS to the IP address of your
>>mail server or you are using DynamicDNS from dsl, cablemodem or
>>dialup it will more than likely be rejected. And if you use your ISP
>>mail servers, if you send too many in an hour, my get flagged as a
>>spammer and they will shut you down. Some ISP's have gone so far as
>>to not allow port 25 outbound from these "dialup" ip addresses. AT&T
>>recentl y instituted such practices - sounds like a lawsuit to me.
>>If you use your "gmail" or your own domain in your FROM/REPLY TO:
>>addresses , you must register as valid address coming from your ISP
>>usernam e/pwd also requiring SSL encryption of all mail. You will
>>most likely need to locate php/sasl to use from your server.
>>A good mailer is phpmailer will do most of this, but you will need to
>>add the ssl stuff..
>Thanks guys for all your feedback. I am told the software will have to
>run on Windows machine. I have been researching on the internet and
>found out about XAMPP. It comes with Apache, PHP, MySQL and and
>Mercury mail server. I am not able to get it working to send mail from
>localhos t to internet. I will try your methods to get it working. If
>you guys have managed to make it work with XAMPP. Can you please give
>me some directions.
>Thanks for all your help.
I'm a newbie, but have xampp's apache/php/sql all in one installed;
works great, only using locally. I am sending e-mail to multiple
recipient s using its standard mail() function and it works fine.
Responses to form submissions go back to the questioner and three other
intereste d parties; it all worked first time every time when I uploaded
the code to the site. Locally I purposely let it fail when it can't
find port25 'cause the rest is known to work locally and works 100% when
it gets to the site.
Not sure what directions to give; it just works. I'm too newbie to
know what kind of answers others might need.
I will say it's better to manually install xampp; same results, but you
get to figure out a lot of the nuances by doing the install on your own.
So, after I'd used the all in one enough to know a little about it, I
wiped it out and did a manual install. Had some problems but it was
worth the trouble.
--
Regards,
Twayne
Open Office isn't just for wimps anymore;
OOo is a GREAT MS Office replacementwww. openoffice.org
Hi Guys, I have managed to make the Mercury mail server send mail from
local host to my yahoo mail using Google SMTP.
But I do not know how to put the settings in php.ini.
For sending mail via Google SMTP you will need port 465 and SSL
connection using direct connection.
How would I put this information in php.ini
Thanks
mail() itself doesn't do ssl. Check out the Pear::Mail class, which
should help (and make things easier).
--
============= =====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@att global.net
============= =====
Hi, Thanks guys for your help, I have used PHPmailer to send
newsletters from localhost. However the images don't show up. So I
would like to convert the html file to PDF. Do you guys know of a
really good php script that can do this?
Rather than create a PDF (which will be larger and won't display inline
on the user's mail reader), I'd suggest you figure out the problem with
them not showing up and fix that.
Not having your code to generate the html, we have no idea how to help you.
>By the way, how do you make this code work?
<snip lots of code>
>Connection Interrupted, The network link was interrupted while
negotiating a connection. Please try again.
Nothing in your code that I can see should cause that problem. Network
timeout, maybe?
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
Well to fix the problem, I would have to ftp images to an online
server and code the html page to pull images from that online server.
I don't want to do this. I am creating an offline package that should
do everything from an offline server. Since there will only be a
localhost and not an actual domain, i won't be able to link the images
to the offline server. So the best idea would be able to attach a pdf
of the newsletter and send it.

OK, so you're doing everything from an offline server. You can put the
images on the localhost, also. And you can include the images in the
email - I get dozens of newsletters a day with images in the email itself.
So any good PHP free, open source scripts that can covert html to pdf?
Thanks for all your help.

Don't know of any, but then this isn't the place to ask. If you want to
create pdf's with PHP, there's the fpdf package which works well.

But be prepared to lose readers.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===
Thanks Jerry, why didn't I think of this rather then searching for
conversion scripts?. I can use phpmailer to attach all the images and
the index.html and send them. Thanks for this great idea, you have
saved me from a lot of pain.

Thanks for all your help.
Undbund
Jun 2 '08 #7
NC
On Apr 8, 7:12 pm, undbund <undb...@gmail. comwrote:
>
I am creating a newsletter system. The software should run from
desktop computer (localhost) but be able to send email to anyone
on the internet. Can you guys give me some ideas on how to achieve
this.
Use an outside SMTP server. To connect to that server and send mail
through it, use phpMailer:

http://phpmailer.sf.net/

Cheers,
NC
Jun 2 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3111
by: Leo Breebaart | last post by:
I am writing a utility in Python and I'd like to add a command-line option "--mailto <address>" that will cause an e-mail summary to be sent to <address> when the utility finishes running. My first thought was to use smtplib.sendmail(), and basically this works like a charm, except that this function expects a valid 'sender' address as a...
5
2341
by: Abhishek | last post by:
I have a client list in my addressbook I have to send all of them mails. Is there a way in which i can read my addressbook entries and send all of them a mail I want all this functionality in C# or vb f possible can i send a mail directly to a contact group for example i have created a group with the name of clientlists which has all my...
1
1119
by: Alok yadav | last post by:
hi, i m sending mail from asp.net page. when i try to send then it says that server unable to realy message for emailid@yahoo/rediff.com it only send the mail in internal network of my organisation but i m not able to send mail to other ids of yahoo,hotmail,rediff,etc. i am only able to send my company internal mails only please help...
10
599
by: herbert | last post by:
I am a hotmail user. 1) How do I send e-mail from my .NET 2.0 app via hotmail? How should the following lines look like? Assume my hotmail username is HMUN, my hotmail password is HMPW. Dim client As New SmtpClient (...) '??? client.Credentials = ... '??? 2) Of course this should also work behind a firewall....
5
2158
by: Zile | last post by:
I am trying to send mail from web page in asp.net 2.0/VB 2005: Dim Poruka As New System.Web.Mail.MailMessage myMessage.From = "matematic@gmail.com" myMessage.To = "matematic@hotmail.com" myMessage.Subject = "Automatic sending mail" myMessage.Body = "Success!" Mail.SmtpMail.Send(myMessage)
1
1488
by: KUTTAN | last post by:
I am trying to send emailes ,but it leades to exeption the exeption message is "Failure sending mail." Try Dim message As New MailMessage()
9
3445
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient oSMTP.Send(oMailMessage) (in this line I am getting the above err)
1
6133
maliksleo
by: maliksleo | last post by:
hi i am using the following class for email sending but getting this error "Failure sending mail" Imports System.Net.Mail Public Class MailHelper ''' <summary> ''' Sends an mail message ''' </summary> ''' <param name="from">Sender address</param> ''' <param name="recepient">Recepient address</param>
4
6622
by: Kapil Choubisa | last post by:
Hello all I am using smtp for sending mail. it ask the smtp host name. that is smtp.Host = "smtp.gmail.com"; what is for yahoo/rediff/hotmail is there any one for globle mail systems.
0
8249
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7826
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8107
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6464
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5631
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3748
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3756
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2252
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1352
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.