Jump to content

Email issue brain explosion soon


NSW42

Recommended Posts

Heya Guys,

 

ive tried over and over by 10,000 times and im about to throw my pc thru the window, my issue is, the email validation link is in text format and cant be clicked, now for the noviee pc user, some still dont know how to copy and paste, now ive tried everything under the sun to try and make it clickable but its kicking my ass from here to next yr, below is the send coding, so if anyone can take a look at it and maybe give me a heads up if the issue lays within this coding and im missing something, would appreciate the help.

 

 

            $mail = new SendMail;

$mail -> From = "{$CONF["SITE_NAME"]} <{$CONF["SITE_SYSTEM_EMAIL"]}>";

$mail -> To = $_SESSION["REGISTER"]["email"];

$mail -> Subject = $mailContent[0];

$mail -> Body = $mailContent[1];

$mail -> SMTPHost = $CONF["MAIL_SMTP_HOST"];

$mail -> SMTPPort = $CONF["MAIL_SMTP_PORT"];

$mail -> SMTPUser = $CONF["MAIL_SMTP_USER"];

$mail -> SMTPPassword = $CONF["MAIL_SMTP_PASSWORD"];

$mail -> SMTPTimeout = $CONF["MAIL_SMTP_TIMEOUT"];

$mail -> MailMethod = $CONF["MAIL_METHOD"];

$mail -> Charset = $CONF["MAIL_CHARSET"];

$mail -> Encoding = $CONF["MAIL_ENCODING"];

$mail -> SendmailPath = $CONF["MAIL_SENDMAIL_PATH"];

 

many thanks.

Link to comment
Share on other sites

  • 6 months later...

Your question isn't very clear.

 

Are you trying to generate a validation link you can include in an email that you can send to users, so that they can just click it and have it validate them?  If so, the body of the text should include the whole link such as:

http://my.domain.org/validate.php?code=myvalidationcode

 

Or are you merely trying to write some code that will execute and send an email?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.