NSW42 Posted August 5, 2008 Share Posted August 5, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/118248-email-issue-brain-explosion-soon/ Share on other sites More sharing options...
pickled Posted February 6, 2009 Share Posted February 6, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/118248-email-issue-brain-explosion-soon/#findComment-755759 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.