Link to home
Start Free TrialLog in
Avatar of eggster34
eggster34

asked on

Email information in a basic form via smtp with authentication

Hi, I have a basic form with

Name
Last Name
Company
Address
City
State
Zip Code
Phone
Email

and I'd like to send the information in this form via smtp through an outside server using smtp authentication to a fixed email address.

Is there a form that you have developed or use that you could share with me which I modify? I'm a beginner level PHP programmer.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of olamedia
olamedia
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eggster34
eggster34

ASKER

how can I pass the variables from my html form (it has to be html) into these mailing scripts?
make the form in php

<?php
if (isset($_POST['message'])){
...
}
?>
<html>
...
<form method="post" action="">
...
<textarea name="message">
...
I can't, it has to be an html form because it is referenced by a flash file that I cannot change, it was programmed by an earlier developer. how can I achieve the same thing via html?
PEAR did it for me, thanks a lot indeed.
Works like a charm even in a restricted shared hosting environment. Thanks!