473,325 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

sending PHP mail from my laptop?

I can set the host and port, but I don't see that there is anywhere to specify
the username and password for an email account on a remote server.

Is that do-able?
Sep 2 '08 #1
2 1010
RJ_32 wrote:
I can set the host and port, but I don't see that there is anywhere to specify
the username and password for an email account on a remote server.

Is that do-able?
Not with the mail command.

However, the PHPMailer class as Micha suggests can handle such things
(and more) for you.

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

Sep 2 '08 #2
Jerry Stuckle wrote:
RJ_32 wrote:
>I can set the host and port, but I don't see that there is anywhere to
specify
the username and password for an email account on a remote server.

Is that do-able?

Not with the mail command.

However, the PHPMailer class as Micha suggests can handle such things
(and more) for you.
yes, thanks, easy to use.

However, to enable SSL, I had to add to my php.ini:
extension=php_openssl.dll

and also to place a copy of that dll into the .../ext directory. It's
apparently already finding libeay32.dll because my system path still points to
the old PHP installation
Sep 2 '08 #3

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

Similar topics

12
by: Joe_Black | last post by:
Hi all, I have googled this and found some answers but none that give me exactly what I'm after, maybe someone here can help. I have an app that will be distributed to users for their laptop...
2
by: Chris Pearson | last post by:
I recently set up a web site which I am running locally on my laptop using ASP.Net. From a web form on the site I am attempting to send an email programmatically using the CDONTS class to an SMTP...
5
by: cashdeskmac | last post by:
I am writing a web application will will be hosted on a few peoples laptops as a local application. It will send e-mails once the user connects to the internet. How can I set up the "Mail.From"...
4
by: Howard | last post by:
I got this code to send email from a small vb program from http://systemwebmail.com/faq/2.1.aspx Dim mail As New MailMessage() mail.To = "me@mycompany.com" mail.From = "you@yourcompany.com"...
3
by: mfleet1973 | last post by:
Hello Again. I have a program that sends e-mails as follows: Try Dim mail As New MailMessage mail.To = "me@comp.com" mail.From = "me@comp.com mail.Subject = "Test" mail.Body = "Testing123"
1
by: =?Utf-8?B?QWxhbg==?= | last post by:
Hi, I am using outlook 2003, POP3 account on my laptop and a company called electric mail for our email service provider. When I us my laptop at home I receive my work emails but can't reply or...
9
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...
4
by: =?Utf-8?B?R3V5IENvaGVu?= | last post by:
Hi all I use: Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text) Dim emailClient As New SmtpClient(txtSMTPServer.Text) emailClient.Send(message) And its...
1
by: bannostookaylo | last post by:
Im not sure if the title is descriptive enough if a mod can think of a better title then please change it for me (thanks in advance) here is the deal; I used vertrigoserv to set up a localhost...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.